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:
3384bdd
)
In by_file.c check last error for no start line, not first error.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 4 Dec 2004 21:26:11 +0000
(21:26 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 4 Dec 2004 21:26:11 +0000
(21:26 +0000)
crypto/x509/by_file.c
patch
|
blob
|
history
diff --git
a/crypto/x509/by_file.c
b/crypto/x509/by_file.c
index b4b04183d0714f967d6ed75935378345d0a153a5..a5e0d4aefa1a2f0f767248d3061e588f3437f1db 100644
(file)
--- a/
crypto/x509/by_file.c
+++ b/
crypto/x509/by_file.c
@@
-150,7
+150,7
@@
int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type)
x=PEM_read_bio_X509_AUX(in,NULL,NULL,NULL);
if (x == NULL)
{
- if ((ERR_GET_REASON(ERR_peek_error()) ==
+ if ((ERR_GET_REASON(ERR_peek_
last_
error()) ==
PEM_R_NO_START_LINE) && (count > 0))
{
ERR_clear_error();
@@
-217,7
+217,7
@@
int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type)
x=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL);
if (x == NULL)
{
- if ((ERR_GET_REASON(ERR_peek_error()) ==
+ if ((ERR_GET_REASON(ERR_peek_
last_
error()) ==
PEM_R_NO_START_LINE) && (count > 0))
{
ERR_clear_error();