diff options
author | zzak <zzak@ruby-lang.org> | 2013-04-16 02:24:09 +0000 |
---|---|---|
committer | zzak <zzak@ruby-lang.org> | 2013-04-16 02:24:09 +0000 |
commit | f7f5ca9de2ea815d45bf6967e589eefea6205096 (patch) | |
tree | 10a2bc7289cd8b7b3cb6c6df03c7904ccde05afe /ext/openssl/ossl_pkey_dh.c | |
parent | 40310e34d7643500e3820ea307afcd4d0509d975 (diff) | |
download | ruby-openssl-history-f7f5ca9de2ea815d45bf6967e589eefea6205096.tar.gz |
* ext/openssl/*: Document synonymous methods, by windwiny [GH-277]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkey_dh.c')
-rw-r--r-- | ext/openssl/ossl_pkey_dh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey_dh.c b/ext/openssl/ossl_pkey_dh.c index c8fb40e..a6ae006 100644 --- a/ext/openssl/ossl_pkey_dh.c +++ b/ext/openssl/ossl_pkey_dh.c @@ -278,7 +278,9 @@ ossl_dh_is_private(VALUE self) /* * call-seq: + * dh.export -> aString * dh.to_pem -> aString + * dh.to_s -> aString * * Encodes this DH to its PEM encoding. Note that any existing per-session * public/private keys will *not* get encoded, just the Diffie-Hellman @@ -428,7 +430,7 @@ ossl_dh_to_public_key(VALUE self) /* * call-seq: - * dh.check_params -> true | false + * dh.params_ok? -> true | false * * Validates the Diffie-Hellman parameters associated with this instance. * It checks whether a safe prime and a suitable generator are used. If this |