diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-08-01 13:08:45 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-08-04 10:58:35 +0100 |
commit | 65b41ab31917e3bb25920c4b27017786db668850 (patch) | |
tree | 5d35822002bb1a832356935e11b8cfccf5e7442d /doc/man3/DH_new.pod | |
parent | fae06b5779bd3e2e1af22b370f32e60efb59fcd6 (diff) | |
download | openssl-65b41ab31917e3bb25920c4b27017786db668850.tar.gz |
Properly document deprecation of DH_new() and related functions
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18925)
Diffstat (limited to 'doc/man3/DH_new.pod')
-rw-r--r-- | doc/man3/DH_new.pod | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/man3/DH_new.pod b/doc/man3/DH_new.pod index 62c61c3d39..dc073b4e3f 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 <openssl/dh.h> +The following functions have been deprecated since OpenSSL 3.0, and can be +hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, +see L<openssl_user_macros(7)>: + DH* DH_new(void); void DH_free(DH *dh); @@ -32,7 +36,14 @@ DH_free() returns no value. L<DH_new(3)>, L<ERR_get_error(3)>, L<DH_generate_parameters(3)>, -L<DH_generate_key(3)> +L<DH_generate_key(3)>, +L<EVP_PKEY-DH(7)> + +=head1 HISTORY + +All of these functions were deprecated in OpenSSL 3.0. + +For replacement see EVP_PKEY-DH(7). =head1 COPYRIGHT |