Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
f30c7b75
Commit
f30c7b75
authored
Jul 22, 2016
by
Evelyn
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_set_ssl.md
parent
c5b8e55e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mg_set_ssl.md
docs/c-api/net.h/mg_set_ssl.md
+6
-6
No files found.
docs/c-api/net.h/mg_set_ssl.md
View file @
f30c7b75
...
...
@@ -7,15 +7,15 @@ signature: |
const char *ca_cert);
---
Note: This function is deprecated
, please
use SSL options in mg_connect_opt.
Note: This function is deprecated
. Please,
use SSL options in mg_connect_opt.
Enable SSL for a given connection.
`cert`
is a server certificate file name for a listening connection
,
Enable
s
SSL for a given connection.
`cert`
is a server certificate file name for a listening connection
or a client certificate file name for an outgoing connection.
Certificate files must be in PEM format. S
erver certificate file
The certificate files must be in PEM format. The s
erver certificate file
must contain a certificate, concatenated with a private key, optionally
concatenated with DH parameters.
`ca_cert`
is a CA certificate
,
or NULL if peer verification is not
`ca_cert`
is a CA certificate or NULL if peer verification is not
required.
Return: NULL on success
,
or error message on error.
Return: NULL on success or error message on error.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment