summaryrefslogtreecommitdiffstats
path: root/apps/crl.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-05-06 19:43:59 +0200
committerRich Salz <rsalz@openssl.org>2015-05-11 16:06:38 +0200
commit75ebbd9aa411c5b8b19ded6ace2b34181566b56a (patch)
tree6bc9cd77b2794b25f9cd9aac1c66f4626fb975a5 /apps/crl.c
parentAdd missing NULL check in X509V3_parse_list() (diff)
downloadopenssl-75ebbd9aa411c5b8b19ded6ace2b34181566b56a.tar.xz
openssl-75ebbd9aa411c5b8b19ded6ace2b34181566b56a.zip
Use p==NULL not !p (in if statements, mainly)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/crl.c')
-rw-r--r--apps/crl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/crl.c b/apps/crl.c
index b8c592c6e2..443889a753 100644
--- a/apps/crl.c
+++ b/apps/crl.c
@@ -222,7 +222,7 @@ int crl_main(int argc, char **argv)
goto end;
if (do_ver) {
- if (!(store = setup_verify(CAfile, CApath)))
+ if ((store = setup_verify(CAfile, CApath)) == NULL)
goto end;
lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file());
if (lookup == NULL)