From: Felix Fietkau Date: Thu, 3 Apr 2014 21:15:04 +0000 (+0200) Subject: openssl: set quiet shutdown flag to ensure that shutdown always succeeds X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fustream-ssl.git;a=commitdiff_plain;h=0966435353d08f6644b65ac22a0b284f17c5787e openssl: set quiet shutdown flag to ensure that shutdown always succeeds Signed-off-by: Felix Fietkau --- 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; }