Don't go into dotted directories when copying Makefile.in to Makefile
[openssl.git] / apps / cms.c
index 8cf99de516aa87cf4d95c66a4982b0a97920f2cf..bcfcd5446a5b78650a8ebd5aabfad6650d40242c 100644 (file)
@@ -735,8 +735,8 @@ int cms_main(int argc, char **argv)
     }
 
     if (certfile) {
-        if ((other = load_certs(certfile, FORMAT_PEM, NULL, e,
-                                "certificate file")) == NULL) {
+        if (!load_certs(certfile, &other, FORMAT_PEM, NULL, e,
+                        "certificate file")) {
             ERR_print_errors(bio_err);
             goto end;
         }