From a9f36eb7b7a12b859b2d23d2c7d2b524959b74ca Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Sun, 8 Jan 2017 11:38:18 +0100 Subject: [PATCH] Added option alias name dhparams --- CHANGES | 4 ++++ xioopts.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGES b/CHANGES index 67193e6..e565461 100644 --- a/CHANGES +++ b/CHANGES @@ -43,6 +43,10 @@ corrections: and therefore were useless. Thanks to Steve Borenstein for reporting this issue. + Option dhparam was documented as dhparams. Added the alias name + dhparams to fix this. + Thanks to Alexander Neumann for sending a patch. + porting: Type conflict between int and sig_atomic_t between declaration and definition of diag_immediate_type and diag_immediate_exit broke diff --git a/xioopts.c b/xioopts.c index 69f5a27..012b6b9 100644 --- a/xioopts.c +++ b/xioopts.c @@ -375,6 +375,7 @@ const struct optname optionnames[] = { #endif IF_OPENSSL("dh", &opt_openssl_dhparam) IF_OPENSSL("dhparam", &opt_openssl_dhparam) + IF_OPENSSL("dhparams", &opt_openssl_dhparam) #ifdef O_DIRECT IF_OPEN ("direct", &opt_o_direct) #endif @@ -1102,6 +1103,7 @@ const struct optname optionnames[] = { IF_OPENSSL("openssl-compress", &opt_openssl_compress) #endif IF_OPENSSL("openssl-dhparam", &opt_openssl_dhparam) + IF_OPENSSL("openssl-dhparams", &opt_openssl_dhparam) IF_OPENSSL("openssl-egd", &opt_openssl_egd) #if WITH_FIPS IF_OPENSSL("openssl-fips", &opt_openssl_fips)