Remove duplicate GENERATE declarations for .pod files
[openssl.git] / apps / pkcs12.c
index 5c05fddf99f1ec46f7e4afa6908ae708d8d02ab1..60e12cf932d46e0fc9b90be6ad71f82b0222f80d 100644 (file)
@@ -335,7 +335,11 @@ int pkcs12_main(int argc, char **argv)
             break;
         }
     }
+
+    /* No extra arguments. */
     argc = opt_num_rest();
+    if (argc != 0)
+        goto opthelp;
 
     if (export_pkcs12) {
         if ((options & INFO) != 0)
@@ -421,8 +425,6 @@ int pkcs12_main(int argc, char **argv)
             enc = EVP_des_ede3_cbc();
     }
 
-    if (argc != 0)
-        goto opthelp;
 
     private = 1;