]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/pkeyutl.c
argv was set but unused
[thirdparty/openssl.git] / apps / pkeyutl.c
index 5a2827b3997a96ee82061e0332d4e8bb10a9ca1c..8e1177738e9b60f3ba24d8d17a4da07d9dca5fcd 100644 (file)
@@ -225,7 +225,8 @@ int pkeyutl_main(int argc, char **argv)
         }
     }
     argc = opt_num_rest();
-    argv = opt_rest();
+    if (argc != 0)
+        goto opthelp;
 
     if (inkey == NULL ||
         (peerkey != NULL && pkey_op != EVP_PKEY_OP_DERIVE))