GH721: Duplicated flags in doc
[openssl.git] / apps / smime.c
index 551a8fd44d6e12b43bab764f99a5778acecb5dc9..024e83b1d2200390d4a63792a0adeccaa51fef9e 100644 (file)
@@ -468,8 +468,8 @@ int smime_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;
         }