aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-05 21:07:26 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-05 21:07:26 +0000
commit4ba8cabf624772deec8728d871e7bafe732b8845 (patch)
tree877d9a5309730f33f3543c7c7bb3d7be1bc06fe9
parentf68bb3c51f91a78c907d83bd562dcb758877630a (diff)
downloadopenssl-4ba8cabf624772deec8728d871e7bafe732b8845.tar.gz
SSL_CERT_FILE should be used in place of the system default file, not as
a first alternative to try
-rw-r--r--crypto/x509/by_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/by_file.c b/crypto/x509/by_file.c
index d8731d4e51..22be90cdcd 100644
--- a/crypto/x509/by_file.c
+++ b/crypto/x509/by_file.c
@@ -105,7 +105,7 @@ static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
ok = (X509_load_cert_crl_file(ctx,file,
X509_FILETYPE_PEM) != 0);
- if (!ok)
+ else
ok = (X509_load_cert_crl_file(ctx,X509_get_default_cert_file(),
X509_FILETYPE_PEM) != 0);