summaryrefslogtreecommitdiffstats
path: root/doc/crypto/DH_generate_key.pod
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-07-27 22:34:25 +0000
committerBodo Möller <bodo@openssl.org>2001-07-27 22:34:25 +0000
commit924875e53bda2ea5057070c9365ee5c0b3f0d6d5 (patch)
tree2bcd370740a024fbe3b75a20e27144bac80f7ef4 /doc/crypto/DH_generate_key.pod
parent3a6445821712cacc68924838f48873e7dca77280 (diff)
Undo DH_generate_key() change: s3_srvr.c was using it correctly
Diffstat (limited to 'doc/crypto/DH_generate_key.pod')
-rw-r--r--doc/crypto/DH_generate_key.pod7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/crypto/DH_generate_key.pod b/doc/crypto/DH_generate_key.pod
index d376dc9f2f..920995b2e5 100644
--- a/doc/crypto/DH_generate_key.pod
+++ b/doc/crypto/DH_generate_key.pod
@@ -21,8 +21,9 @@ value to compute the shared key.
DH_generate_key() expects B<dh> to contain the shared parameters
B<dh-E<gt>p> and B<dh-E<gt>g>. It generates a random private DH value
-B<dh-E<gt>priv_key>, and it computes the corresponding public value
-B<dh-E<gt>pub_key>, which can then be published.
+unless B<dh-E<gt>priv_key> is already set, and computes the
+corresponding public value B<dh-E<gt>pub_key>, which can then be
+published.
DH_compute_key() computes the shared secret from the private DH value
in B<dh> and the other party's public value in B<pub_key> and stores
@@ -45,7 +46,5 @@ L<dh(3)|dh(3)>, L<err(3)|err(3)>, L<rand(3)|rand(3)>, L<DH_size(3)|DH_size(3)>
DH_generate_key() and DH_compute_key() are available in all versions
of SSLeay and OpenSSL.
-Up to version 0.9.6b, DH_generate_key() would not generate a new
-key if B<dh-E<gt>priv_key> was already set.
=cut