From 0966435353d08f6644b65ac22a0b284f17c5787e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Apr 2014 23:15:04 +0200 Subject: [PATCH] openssl: set quiet shutdown flag to ensure that shutdown always succeeds Signed-off-by: Felix Fietkau --- ustream-openssl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ustream-openssl.c b/ustream-openssl.c index 8181107..06053e6 100644 --- a/ustream-openssl.c +++ b/ustream-openssl.c @@ -52,6 +52,7 @@ __ustream_ssl_context_new(bool server) return NULL; SSL_CTX_set_verify(c, SSL_VERIFY_NONE, NULL); + SSL_CTX_set_quiet_shutdown(c, 1); return (void *) c; } -- 2.11.0