X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=doc%2Fman3%2FDSA_dup_DH.pod;h=897d9a1e419b079d729f69f9a33b73c54e1f70e0;hb=7525c930304c7814b3176d0724f271d2bbb1a09e;hp=b9113005f6fa12b7e75a81c696c37bb29437affe;hpb=b97fdb57a269656fa20024a4404d3f543f06ac61;p=openssl.git diff --git a/doc/man3/DSA_dup_DH.pod b/doc/man3/DSA_dup_DH.pod index b9113005f6..897d9a1e41 100644 --- a/doc/man3/DSA_dup_DH.pod +++ b/doc/man3/DSA_dup_DH.pod @@ -8,15 +8,23 @@ DSA_dup_DH - create a DH structure out of DSA structure #include - DH * DSA_dup_DH(const DSA *r); +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B with a suitable version value, see +L: + + DH *DSA_dup_DH(const DSA *r); =head1 DESCRIPTION +The function described on this page is deprecated. There is no direct +replacement, applications should use the EVP_PKEY APIs for Diffie-Hellman +operations. + DSA_dup_DH() duplicates DSA parameters/keys as DH parameters/keys. q is lost during that conversion, but the resulting DH parameters contain its length. -=head1 RETURN VALUE +=head1 RETURN VALUES DSA_dup_DH() returns the new B structure, and NULL on error. The error codes can be obtained by L. @@ -29,11 +37,15 @@ Be careful to avoid small subgroup attacks when using this. L, L, L +=head1 HISTORY + +This function was deprecated in OpenSSL 3.0. + =head1 COPYRIGHT -Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000-2018 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.