diff options
author | zzak <zzak@ruby-lang.org> | 2014-01-13 05:27:23 +0000 |
---|---|---|
committer | zzak <zzak@ruby-lang.org> | 2014-01-13 05:27:23 +0000 |
commit | 11915f553b9d9daae1e365d74eaf34456aa976c6 (patch) | |
tree | 02a2b1aae30188e394bd2ef5a22fee3e73b376ca /ext/openssl/ossl_pkey_dh.c | |
parent | 5c57e1944e642f9a5163ca886bdd8a27a6ba8c41 (diff) | |
download | ruby-openssl-history-11915f553b9d9daae1e365d74eaf34456aa976c6.tar.gz |
* ext/openssl/ossl_pkey_dh.c: Fixed typo by Sandor Szücs [Bug #9243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkey_dh.c')
-rw-r--r-- | ext/openssl/ossl_pkey_dh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey_dh.c b/ext/openssl/ossl_pkey_dh.c index a6ae006..011b6f0 100644 --- a/ext/openssl/ossl_pkey_dh.c +++ b/ext/openssl/ossl_pkey_dh.c @@ -621,7 +621,7 @@ Init_ossl_dh() * * === Example of a key exchange * dh1 = OpenSSL::PKey::DH.new(2048) - * params = dh1.public_key.to_der #you may send this publicly to the participating party + * der = dh1.public_key.to_der #you may send this publicly to the participating party * dh2 = OpenSSL::PKey::DH.new(der) * dh2.generate_key! #generate the per-session key pair * symm_key1 = dh1.compute_key(dh2.pub_key) @@ -664,4 +664,3 @@ Init_ossl_dh() { } #endif /* NO_DH */ - |