call ERR_clear_error after each https session close

This commit is contained in:
Unbit
2013-03-06 10:36:05 +01:00
parent 3857e26e4c
commit 74b3d25bcf
+2
View File
@@ -1125,6 +1125,8 @@ void hr_session_ssl_close(struct corerouter_session *cs) {
X509_free(hs->ssl_client_cert);
}
// clear the errors (otherwise they could be propagated)
ERR_clear_error();
SSL_free(hs->ssl);
}
#endif