diff options
Diffstat (limited to 'doc/man3/DH_meth_new.pod')
-rw-r--r-- | doc/man3/DH_meth_new.pod | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/man3/DH_meth_new.pod b/doc/man3/DH_meth_new.pod index 63aa6513403a..d5ba5eac565d 100644 --- a/doc/man3/DH_meth_new.pod +++ b/doc/man3/DH_meth_new.pod @@ -14,6 +14,10 @@ DH_meth_set_generate_params - Routines to build up DH methods #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_METHOD *DH_meth_new(const char *name, int flags); void DH_meth_free(DH_METHOD *dhm); @@ -58,6 +62,9 @@ DH_meth_set_generate_params - Routines to build up DH methods =head1 DESCRIPTION +All of the functions described on this page are deprecated. +Applications should instead use the provider APIs. + The B<DH_METHOD> type is a structure used for the provision of custom DH implementations. It provides a set of functions used by OpenSSL for the implementation of the various DH capabilities. @@ -74,7 +81,7 @@ parameter. This might be useful for creating a new B<DH_METHOD> based on an existing one, but with some differences. DH_meth_free() destroys a B<DH_METHOD> structure and frees up any memory -associated with it. +associated with it. If the argument is NULL, nothing is done. DH_meth_get0_name() will return a pointer to the name of this DH_METHOD. This is a pointer to the internal name string and so should not be freed by the @@ -153,13 +160,15 @@ L<DH_set_method(3)>, L<DH_size(3)>, L<DH_get0_pqg(3)> =head1 HISTORY +All of these functions were deprecated in OpenSSL 3.0. + The functions described here were added in OpenSSL 1.1.0. =head1 COPYRIGHT -Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. -Licensed under the OpenSSL license (the "License"). You may not use +Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at L<https://www.openssl.org/source/license.html>. |