]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/req: avoid needless hint on using -help on duplicate extensions added via -addext
authorDr. David von Oheimb <dev@ddvo.net>
Thu, 4 Jul 2024 07:25:20 +0000 (09:25 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 10 Jul 2024 14:19:06 +0000 (16:19 +0200)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24792)

apps/req.c

index dfa8319156e6389653ab481f6e2fd1836ef25152..2d23861cf69878b8535c20d2a276cc6e0fa2fd3b 100644 (file)
@@ -481,7 +481,7 @@ int req_main(int argc, char **argv)
             }
             i = duplicated(addexts, p);
             if (i == 1)
-                goto opthelp;
+                goto end;
             if (i == -1)
                 BIO_printf(bio_err, "Internal error handling -addext %s\n", p);
             if (i < 0 || BIO_printf(addext_bio, "%s\n", p) < 0)