Use p==NULL not !p (in if statements, mainly)
[openssl.git] / apps / crl.c
index b8c592c6e266c6d624b4c6c9f6dbbed4e3c2a76d..443889a75363bc77d04a7ec4adfbfb60240c85cd 100644 (file)
@@ -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)