projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix pem/err ordering.
[openssl.git]
/
apps
/
verify.c
diff --git
a/apps/verify.c
b/apps/verify.c
index 809f4c43fa6b13f76ffdf4ad2a0e50cd0d21126b..2179110d37b0f0064962d5aaf5e8ba6555068727 100644
(file)
--- a/
apps/verify.c
+++ b/
apps/verify.c
@@
-1,5
+1,5
@@
/* apps/verify.c */
/* apps/verify.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-97,7
+97,7
@@
char **argv;
if (bio_err == NULL)
if ((bio_err=BIO_new(BIO_s_file())) != NULL)
if (bio_err == NULL)
if ((bio_err=BIO_new(BIO_s_file())) != NULL)
- BIO_set_fp(bio_err,stderr,BIO_NOCLOSE);
+ BIO_set_fp(bio_err,stderr,BIO_NOCLOSE
|BIO_FP_TEXT
);
argc--;
argv++;
argc--;
argv++;
@@
-141,6
+141,7
@@
char **argv;
X509_LOOKUP_add_dir(lookup,NULL,X509_FILETYPE_DEFAULT);
X509_LOOKUP_add_dir(lookup,NULL,X509_FILETYPE_DEFAULT);
+ ERR_clear_error();
if (argc < 1) check(cert_ctx,NULL);
else
for (i=0; i<argc; i++)
if (argc < 1) check(cert_ctx,NULL);
else
for (i=0; i<argc; i++)