mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-17 19:30:36 +00:00
Improve SNI
This commit is contained in:
1 parent
31cf6f8969
commit
d327ee9834
8 files changed
+66
-40
No files matched your search
@@ -2,11 +2,11 @@
|
||||
#include "net.h"
|
||||
|
||||
struct mg_tls_opts {
|
||||
const char *ca; // CA certificate file. For both listeners and clients
|
||||
const char *cert; // Certificate
|
||||
const char *certkey; // Certificate key
|
||||
const char *ciphers; // Cipher list
|
||||
const char *srvname; // If not NULL, enables server name verification
|
||||
const char *ca; // CA certificate file. For both listeners and clients
|
||||
const char *cert; // Certificate
|
||||
const char *certkey; // Certificate key
|
||||
const char *ciphers; // Cipher list
|
||||
struct mg_str srvname; // If not empty, enables server name verification
|
||||
};
|
||||
|
||||
int mg_tls_init(struct mg_connection *, struct mg_tls_opts *);
|
||||
|
||||
Reference in new issue
Block a user