call ERR_clear_error after each https session close

This commit is contained in:
Unbit
2013-03-06 10:35:32 +01:00
parent af1eac9fcc
commit 9d4300d514
+2
View File
@@ -226,6 +226,8 @@ void hr_session_ssl_close(struct corerouter_session *cs) {
}
#endif
// clear the errors (otherwise they could be propagated)
ERR_clear_error();
SSL_free(hr->ssl);
}