fixed hr_ssl_clear_errors

This commit is contained in:
Unbit
2014-11-20 07:35:18 +01:00
parent f7cdd22f9a
commit 65fe93ac14
+3 -1
View File
@@ -12,7 +12,9 @@ extern struct uwsgi_http uhttp;
// taken from nginx
static void hr_ssl_clear_errors() {
while (ERR_peek_error()) {}
while (ERR_peek_error()) {
(void) ERR_get_error();
}
ERR_clear_error();
}