projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a25c6
)
really clear the error queue here
author
Nils Larsch
<nils@openssl.org>
Fri, 1 Apr 2005 17:49:33 +0000
(17:49 +0000)
committer
Nils Larsch
<nils@openssl.org>
Fri, 1 Apr 2005 17:49:33 +0000
(17:49 +0000)
PR: 860
ssl/ssl_rsa.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_rsa.c
b/ssl/ssl_rsa.c
index 330390519bb6a9dd2390eacba8c6745b9316ce10..fb0bd4d0452af081459fc86cfb17112c26e5616d 100644
(file)
--- a/
ssl/ssl_rsa.c
+++ b/
ssl/ssl_rsa.c
@@
-804,7
+804,7
@@
int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file)
/* 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 */
}