X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=doc%2Fcrypto%2FDSA_dup_DH.pod;fp=doc%2Fcrypto%2FDSA_dup_DH.pod;h=0c15094b5668720dc397e2373e59b4f5fdb9c6e6;hb=38e33cef15e7965ad9fd9db4b08fb2f5dc1bc573;hp=0000000000000000000000000000000000000000;hpb=0c23524963064a3bf8206b28c97f88e157d29fa7;p=openssl.git diff --git a/doc/crypto/DSA_dup_DH.pod b/doc/crypto/DSA_dup_DH.pod new file mode 100644 index 0000000000..0c15094b56 --- /dev/null +++ b/doc/crypto/DSA_dup_DH.pod @@ -0,0 +1,32 @@ +=pod + +=head1 NAME + +DSA_dup_DH - Create a DH structure out of DSA structure + +=head1 SYNOPSIS + + #include + + DH * DSA_dup_DH(DSA *r); + +=head1 DESCRIPTION + +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 + +DSA_dup_DH() returns the new B structure, and NULL on error. The +error codes can be obtained by L. + +=head1 SEE ALSO + +L, L, L + +=head1 HISTORY + +DSA_dup_DH() was added in OpenSSL 0.9.4. + +=cut