From 47422549da431cf9546a148d916d162e196fcd44 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 20 Oct 2020 13:32:26 +1000 Subject: dsa: apps deprecation changes Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13638) --- apps/dhparam.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/dhparam.c') diff --git a/apps/dhparam.c b/apps/dhparam.c index a69dfd3810..8242a1f1d7 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -47,8 +47,10 @@ const OPTIONS dhparam_options[] = { OPT_SECTION("General"), {"help", OPT_HELP, '-', "Display this summary"}, {"check", OPT_CHECK, '-', "Check the DH parameters"}, +#if !defined(OPENSSL_NO_DSA) || !defined(OPENSSL_NO_DEPRECATED_3_0) {"dsaparam", OPT_DSAPARAM, '-', "Read or generate DSA parameters, convert to DH"}, +#endif #ifndef OPENSSL_NO_ENGINE {"engine", OPT_ENGINE, 's', "Use engine e, possibly a hardware device"}, #endif -- cgit v1.2.3