Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
ef802c9b
Commit
ef802c9b
authored
8 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
mbedtls: follow-up for the previous commit
parent
464bbfd6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/vtls/mbedtls.h
+4
-5
4 additions, 5 deletions
lib/vtls/mbedtls.h
with
4 additions
and
5 deletions
lib/vtls/mbedtls.h
+
4
−
5
View file @
ef802c9b
...
...
@@ -29,9 +29,8 @@
#include
<mbedtls/sha256.h>
/* Called on first use mbedTLS, setup threading if supported */
int
mbedtls_init
(
void
);
void
mbedtls_cleanup
(
void
);
int
Curl_mbedtls_init
(
void
);
void
Curl_mbedtls_cleanup
(
void
);
CURLcode
Curl_mbedtls_connect
(
struct
connectdata
*
conn
,
int
sockindex
);
...
...
@@ -51,8 +50,8 @@ size_t Curl_mbedtls_version(char *buffer, size_t size);
int
Curl_mbedtls_shutdown
(
struct
connectdata
*
conn
,
int
sockindex
);
/* API setup for mbedTLS */
#define curlssl_init() mbedtls_init()
#define curlssl_cleanup() mbedtls_cleanup()
#define curlssl_init()
Curl_
mbedtls_init()
#define curlssl_cleanup()
Curl_
mbedtls_cleanup()
#define curlssl_connect Curl_mbedtls_connect
#define curlssl_connect_nonblocking Curl_mbedtls_connect_nonblocking
#define curlssl_session_free(x) Curl_mbedtls_session_free(x)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment