From: Matt Caswell Date: Mon, 23 Nov 2020 12:01:34 +0000 (+0000) Subject: Undeprecate the -dsaparam option in the dhparam app X-Git-Tag: openssl-3.0.0-alpha9~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8252847d1ccf39a48ab382971f8f18ac3f4089;p=thirdparty%2Fopenssl.git Undeprecate the -dsaparam option in the dhparam app 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 (Merged from https://github.com/openssl/openssl/pull/13485) --- diff --git a/apps/dhparam.c b/apps/dhparam.c index 6717c952e96..e2fb38d8c07 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -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; diff --git a/doc/man1/openssl-dhparam.pod.in b/doc/man1/openssl-dhparam.pod.in index 98d0a00c6ba..2b67943f1f5 100644 --- a/doc/man1/openssl-dhparam.pod.in +++ b/doc/man1/openssl-dhparam.pod.in @@ -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 =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.