aboutsummaryrefslogtreecommitdiffstats
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r--apps/crl2p7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index cb2461e2e0..95b71e44f1 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -131,7 +131,7 @@ int crl2pkcs7_main(int argc, char **argv)
goto end;
p7s->cert = cert_stack;
- if (certflst)
+ if (certflst != NULL)
for (i = 0; i < sk_OPENSSL_STRING_num(certflst); i++) {
certfile = sk_OPENSSL_STRING_value(certflst, i);
if (add_certs_from_file(cert_stack, certfile) < 0) {