From: Tomas Mraz Date: Mon, 1 Aug 2022 11:08:45 +0000 (+0200) Subject: Properly document deprecation of DH_new() and related functions X-Git-Tag: openssl-3.2.0-alpha1~2300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65b41ab31917e3bb25920c4b27017786db668850;p=thirdparty%2Fopenssl.git Properly document deprecation of DH_new() and related functions Reviewed-by: Matt Caswell Reviewed-by: Todd Short Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18925) --- diff --git a/doc/man3/DH_new.pod b/doc/man3/DH_new.pod index 62c61c3d393..dc073b4e3f9 100644 --- a/doc/man3/DH_new.pod +++ b/doc/man3/DH_new.pod @@ -8,6 +8,10 @@ DH_new, DH_free - allocate and free DH objects #include +The following functions have been deprecated since OpenSSL 3.0, and can be +hidden entirely by defining B with a suitable version value, +see L: + DH* DH_new(void); void DH_free(DH *dh); @@ -32,7 +36,14 @@ DH_free() returns no value. L, L, L, -L +L, +L + +=head1 HISTORY + +All of these functions were deprecated in OpenSSL 3.0. + +For replacement see EVP_PKEY-DH(7). =head1 COPYRIGHT diff --git a/doc/man3/DH_new_by_nid.pod b/doc/man3/DH_new_by_nid.pod index 6876e239aaa..ac2285b148f 100644 --- a/doc/man3/DH_new_by_nid.pod +++ b/doc/man3/DH_new_by_nid.pod @@ -7,12 +7,13 @@ DH_new_by_nid, DH_get_nid - create or get DH named parameters =head1 SYNOPSIS #include - DH *DH_new_by_nid(int nid); The following functions have been deprecated since OpenSSL 3.0, and can be hidden entirely by defining B with a suitable version value, see L: + DH *DH_new_by_nid(int nid); + int DH_get_nid(const DH *dh); =head1 DESCRIPTION @@ -37,7 +38,7 @@ and optionally q, otherwise it returns B if there is no match. =head1 HISTORY -The DH_get_nid() function was deprecated in OpenSSL 3.0. +All of these functions were deprecated in OpenSSL 3.0. =head1 COPYRIGHT