Check non-option arguments
[openssl.git] / apps / crl2p7.c
index 545fe0a53b8d883445c5493ade07671040873889..577d80fa49ba56389044c68fb4a2d8af0d6519b7 100644 (file)
@@ -19,8 +19,6 @@
 #include <openssl/pem.h>
 #include <openssl/objects.h>
 
-DEFINE_STACK_OF_STRING()
-
 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
 
 typedef enum OPTION_choice {
@@ -104,6 +102,8 @@ int crl2pkcs7_main(int argc, char **argv)
             break;
         }
     }
+
+    /* No remaining args. */
     argc = opt_num_rest();
     if (argc != 0)
         goto opthelp;