projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document X509_verify_ex() and X509_REQ_verify_ex()
[openssl.git]
/
doc
/
man3
/
DSA_dup_DH.pod
diff --git
a/doc/man3/DSA_dup_DH.pod
b/doc/man3/DSA_dup_DH.pod
index b9113005f6fa12b7e75a81c696c37bb29437affe..897d9a1e419b079d729f69f9a33b73c54e1f70e0 100644
(file)
--- 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 <openssl/dsa.h>
#include <openssl/dsa.h>
- DH * DSA_dup_DH(const DSA *r);
+Deprecated since OpenSSL 3.0, can be hidden entirely by defining
+B<OPENSSL_API_COMPAT> with a suitable version value, see
+L<openssl_user_macros(7)>:
+
+ DH *DSA_dup_DH(const DSA *r);
=head1 DESCRIPTION
=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.
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 VALUE
S
DSA_dup_DH() returns the new B<DH> structure, and NULL on error. The
error codes can be obtained by L<ERR_get_error(3)>.
DSA_dup_DH() returns the new B<DH> structure, and NULL on error. The
error codes can be obtained by L<ERR_get_error(3)>.
@@
-29,11
+37,15
@@
Be careful to avoid small subgroup attacks when using this.
L<DH_new(3)>, L<DSA_new(3)>, L<ERR_get_error(3)>
L<DH_new(3)>, L<DSA_new(3)>, L<ERR_get_error(3)>
+=head1 HISTORY
+
+This function was deprecated in OpenSSL 3.0.
+
=head1 COPYRIGHT
=head1 COPYRIGHT
-Copyright 2000-201
6
The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-201
8
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>.
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>.