commit | 48c832b6b7b7c03a8a8ac368c6540ab1034e46d1 | [log] [tgz] |
---|---|---|
author | Nils Larsch <nils@openssl.org> | Fri Apr 01 17:50:09 2005 +0000 |
committer | Nils Larsch <nils@openssl.org> | Fri Apr 01 17:50:09 2005 +0000 |
tree | 21e0195f50673113b5829389545fa632974eedb0 | |
parent | f3e427f6f9515d7a759f150d2c56600af2834b0a [diff] [blame] |
really clear the error queue here PR: 860
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 72511d2..d6da953 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c
@@ -804,7 +804,7 @@ /* When the while loop ends, it's usually just EOF. */ err = ERR_peek_last_error(); if (ERR_GET_LIB(err) == ERR_LIB_PEM && ERR_GET_REASON(err) == PEM_R_NO_START_LINE) - (void)ERR_get_error(); + ERR_clear_error(); else ret = 0; /* some real error */ }