commit | ad2248a207b468133b2360bfd02f73dc8a0d305a | [log] [tgz] |
---|---|---|
author | Andrew Canaday <andrew.canaday@nytimes.com> | Thu Dec 03 09:44:15 2015 +0800 |
committer | Andy Green <andy.green@linaro.org> | Thu Dec 03 09:44:15 2015 +0800 |
tree | 186417a61b8418e383f5e46e937c0ca8dc1ddddd | |
parent | 765914cab1824563335f43009bd85be67f2ced6d [diff] |
ssl set ssl to NULL on close
diff --git a/lib/ssl.c b/lib/ssl.c index 04c96cf..cb19d60 100644 --- a/lib/ssl.c +++ b/lib/ssl.c
@@ -515,6 +515,7 @@ SSL_shutdown(wsi->ssl); compatible_close(n); SSL_free(wsi->ssl); + wsi->ssl = NULL; return 1; /* handled */ }