diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-03 23:15:04 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-03 23:15:04 +0200 |
commit | 0966435353d08f6644b65ac22a0b284f17c5787e (patch) | |
tree | db3376b2a5b4ba08652a662d91d8cb3fd8ad7336 | |
parent | 881cfb34f60967931ddced1f87152fd045b5bcff (diff) | |
download | ustream-ssl-0966435353d08f6644b65ac22a0b284f17c5787e.tar.gz |
openssl: set quiet shutdown flag to ensure that shutdown always succeeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | ustream-openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |