Silence Clang warning about unit'd variable
[openssl.git] / apps / crl.c
index b8c592c6e266c6d624b4c6c9f6dbbed4e3c2a76d..17391e24c038931aff0287ba76424c4060488dbb 100644 (file)
@@ -217,12 +217,15 @@ int crl_main(int argc, char **argv)
     argc = opt_num_rest();
     argv = opt_rest();
 
+    if (!app_load_modules(NULL))
+        goto end;
+
     x = load_crl(infile, informat);
     if (x == NULL)
         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)