diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:18:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-08-10 09:19:08 +0000 |
commit | a2d7dede737947d7c6afa20a88e1f0c64e0eb96c (patch) | |
tree | fed4aff7dbe0be00cf91de6261d98bc0eb9a2449 /web/server/h2o/http_server.c | |
parent | Releasing debian version 1.41.0-1. (diff) | |
download | netdata-a2d7dede737947d7c6afa20a88e1f0c64e0eb96c.tar.xz netdata-a2d7dede737947d7c6afa20a88e1f0c64e0eb96c.zip |
Merging upstream version 1.42.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/server/h2o/http_server.c')
-rw-r--r-- | web/server/h2o/http_server.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/server/h2o/http_server.c b/web/server/h2o/http_server.c index 3a46889c2..b94a7daeb 100644 --- a/web/server/h2o/http_server.c +++ b/web/server/h2o/http_server.c @@ -73,6 +73,10 @@ static int ssl_init() #else accept_ctx.ssl_ctx = SSL_CTX_new(TLS_server_method()); #endif + if (!accept_ctx.ssl_ctx) { + netdata_log_error("Could not allocate a new SSL_CTX"); + return -1; + } SSL_CTX_set_options(accept_ctx.ssl_ctx, SSL_OP_NO_SSLv2); |