14 lines
356 B
Diff
14 lines
356 B
Diff
|
--- modules/ssl/ssl_engine_init.c.orig
|
||
|
+++ modules/ssl/ssl_engine_init.c
|
||
|
@@ -482,7 +482,9 @@ static void ssl_init_ctx_protocol(server
|
||
|
}
|
||
|
|
||
|
mctx->ssl_ctx = ctx;
|
||
|
-
|
||
|
+#ifdef SSL_MODE_RELEASE_BUFFERS
|
||
|
+ SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS);
|
||
|
+#endif
|
||
|
SSL_CTX_set_options(ctx, SSL_OP_ALL);
|
||
|
|
||
|
if (!(protocol & SSL_PROTOCOL_SSLV2)) {
|