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:
98fa4fc
)
use ERR_peek_last_error() instead of ERR_peek_error()
author
Bodo Möller
<bodo@openssl.org>
Thu, 28 Feb 2002 14:10:13 +0000
(14:10 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 28 Feb 2002 14:10:13 +0000
(14:10 +0000)
ssl/ssl_rsa.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_rsa.c
b/ssl/ssl_rsa.c
index b15dd506c9d84278549fe63a19b35d30a171a7a5..1cf8e20934b04dc4e0ec994d696a30aef3141a1e 100644
(file)
--- a/
ssl/ssl_rsa.c
+++ b/
ssl/ssl_rsa.c
@@
-800,9
+800,9
@@
int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file)
* by SSL_CTX_use_certificate). */
}
/* When the while loop ends, it's usually just EOF. */
- err = ERR_peek_error();
+ 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();
+ (void)ERR_get_error();
else
ret = 0; /* some real error */
}