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:
87ebdd8
)
use ERR_peek_last_error() instead of ERR_peek_error() to ignore
author
Bodo Möller
<bodo@openssl.org>
Thu, 28 Feb 2002 14:05:13 +0000
(14:05 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 28 Feb 2002 14:05:13 +0000
(14:05 +0000)
any other errors that may be left in the error queue
Submitted by: Jeffrey Altman
crypto/pem/pem_info.c
patch
|
blob
|
history
diff --git
a/crypto/pem/pem_info.c
b/crypto/pem/pem_info.c
index 7fc5e5c4c0c83e9c24d7006a9410218688a741cd..dba1c430da1ca9e69c60c586f76a60bb05045c60 100644
(file)
--- a/
crypto/pem/pem_info.c
+++ b/
crypto/pem/pem_info.c
@@
-111,7
+111,7
@@
STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk, pe
i=PEM_read_bio(bp,&name,&header,&data,&len);
if (i == 0)
{
- error=ERR_GET_REASON(ERR_peek_error());
+ error=ERR_GET_REASON(ERR_peek_
last_
error());
if (error == PEM_R_NO_START_LINE)
{
ERR_clear_error();