Undeprecate the -dsaparam option in the dhparam app
authorMatt Caswell <matt@openssl.org>
Mon, 23 Nov 2020 12:01:34 +0000 (12:01 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Nov 2020 17:18:18 +0000 (17:18 +0000)
The -dsaparam option was deprecated because it was previously using
deprecated functions in order to operate. This is no longer the case
and therefore does not need to be deprecated.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13485)

apps/dhparam.c
doc/man1/openssl-dhparam.pod.in

index 6717c952e96a18fbfa574aa9079f497ad5c7d51d..e2fb38d8c07f26a46360272dc3b0951302144144 100644 (file)
@@ -124,11 +124,7 @@ int dhparam_main(int argc, char **argv)
             text = 1;
             break;
         case OPT_DSAPARAM:
-# ifdef OPENSSL_NO_DEPRECATED_3_0
-            BIO_printf(bio_err, "The dsaparam option is deprecated.\n");
-# else
             dsaparam = 1;
-# endif
             break;
         case OPT_2:
             g = 2;
index 98d0a00c6baab959cf592c7d755f0108a4aedeed..2b67943f1f528943955adcf51c1c2ef6a39a127e 100644 (file)
@@ -57,8 +57,6 @@ as the input filename.
 
 =item B<-dsaparam>
 
-This option is deprecated.
-
 If this option is used, DSA rather than DH parameters are read or created;
 they are converted to DH format.  Otherwise, "strong" primes (such
 that (p-1)/2 is also prime) will be used for DH parameter generation.
@@ -128,7 +126,7 @@ L<openssl-dsaparam(1)>
 
 =head1 HISTORY
 
-The B<-dsaparam> and B<-engine> options were deprecated in OpenSSL 3.0.
+The B<-engine> option was deprecated in OpenSSL 3.0.
 
 The B<-C> option was removed in OpenSSL 3.0.