]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/req.c
APPS: Add check for multiple 'unknown' options
[thirdparty/openssl.git] / apps / req.c
index 36ac4938078b3c5ab97c6f59075dd176221bbea0..eaff69faa4846a94bee3f945a5aed681c97f7b8d 100644 (file)
@@ -266,6 +266,7 @@ int req_main(int argc, char **argv)
     cipher = (EVP_CIPHER *)EVP_des_ede3_cbc();
 #endif
 
+    opt_set_unknown_name("digest");
     prog = opt_init(argc, argv, req_options);
     while ((o = opt_next()) != OPT_EOF) {
         switch (o) {