Commit bb5a1df932 for openssl.org
commit bb5a1df9328d701ac0b567117e565fa87989aea9
Author: Nicky Mouha <nicky@mouha.be>
Date: Sun Nov 8 21:35:57 2026 -0500
apps/prime.c: remove opt_arg() call that has no effect
The opt_arg() call without an assignment was a remnant of -checks
option deprecation in commit 42619397eb5d "Add BN_check_prime()".
Remove it, as it has no side effects, to avoid a static analyzer
warning.
Complements: 42619397eb5d "Add BN_check_prime()"
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Merge-date: Tue Nov 10 10:34:04 2026
Merged-from: https://github.com/openssl/openssl/pull/33612
diff --git a/apps/prime.c b/apps/prime.c
index f4572e1afb..0960c2ad29 100644
--- a/apps/prime.c
+++ b/apps/prime.c
@@ -132,7 +132,6 @@ int prime_main(int argc, char **argv)
break;
case OPT_CHECKS:
/* ignore parameter and argument */
- opt_arg();
break;
case OPT_PROV_CASES:
if (!opt_provider(o))