]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/info.c
Check non-option arguments
[thirdparty/openssl.git] / apps / info.c
index ae6e34c9bc0aff93443594a200fb1cdf69c0c824..5099853494bb3cc155322dcc6a4c4e017e2672ee 100644 (file)
@@ -86,10 +86,8 @@ opthelp:
             break;
         }
     }
-    if (opt_num_rest() != 0) {
-        BIO_printf(bio_err, "%s: Extra parameters given.\n", prog);
+    if (opt_num_rest() != 0)
         goto opthelp;
-    }
     if (dirty > 1) {
         BIO_printf(bio_err, "%s: Only one item allowed\n", prog);
         goto opthelp;