mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Remove TLS custom_init() API
This commit is contained in:
1 parent
3f5fd89fd7
commit
aa6d8b4662
5 files changed
-18
No files matched your search
@@ -28,10 +28,6 @@ void mg_tls_init(struct mg_connection *c, struct mg_tls_opts *opts) {
|
||||
if (tls == NULL) {
|
||||
mg_error(c, "TLS OOM");
|
||||
goto fail;
|
||||
} else if (opts->custom_init != NULL &&
|
||||
opts->custom_init(c, opts, tls) != 0) {
|
||||
mg_error(c, "TLS custom init failed");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (!s_initialised) {
|
||||
|
||||
Reference in new issue
Block a user