mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Pass more args to custom TLS init
This commit is contained in:
1 parent
f43a5a005c
commit
3f5fd89fd7
5 files changed
+10
-6
No files matched your search
@@ -11,7 +11,7 @@ struct mg_tls_opts {
|
||||
const char *certkey; // Certificate key
|
||||
const char *ciphers; // Cipher list
|
||||
struct mg_str srvname; // If not empty, enables server name verification
|
||||
int (*ifn)(struct mg_tls_opts *); // Custom init func. Return 0 on success
|
||||
int (*custom_init)(struct mg_connection *, struct mg_tls_opts *, void *tls);
|
||||
};
|
||||
|
||||
void mg_tls_init(struct mg_connection *, struct mg_tls_opts *);
|
||||
|
||||
Reference in new issue
Block a user