diff options
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/by_file.c | 2 |
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); |