diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-16 02:24:09 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-16 02:24:09 +0000 |
commit | a152c41e53574b83f46f1d759131fa8b873a50cc (patch) | |
tree | d7d1c5c38925e2b6a21689e98fa6ff28225f95a3 /ext/openssl/ossl_pkey_ec.c | |
parent | 582ba0a57c40be0dcda5f66fa18d28188d6d66f1 (diff) |
* 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_ec.c')
-rw-r--r-- | ext/openssl/ossl_pkey_ec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c index 8e6d88f606..9d7607ef2f 100644 --- a/ext/openssl/ossl_pkey_ec.c +++ b/ext/openssl/ossl_pkey_ec.c @@ -533,8 +533,8 @@ static VALUE ossl_ec_key_to_string(VALUE self, VALUE ciph, VALUE pass, int forma /* * call-seq: - * key.export => String - * key.export(cipher, pass_phrase) => String + * key.export([cipher, pass_phrase]) => String + * key.to_pem([cipher, pass_phrase]) => String * * Outputs the EC key in PEM encoding. If +cipher+ and +pass_phrase+ are * given they will be used to encrypt the key. +cipher+ must be an @@ -843,6 +843,7 @@ static VALUE ossl_ec_group_initialize(int argc, VALUE *argv, VALUE self) } /* call-seq: + * group1.eql?(group2) => true | false * group1 == group2 => true | false * */ @@ -1312,6 +1313,7 @@ static VALUE ossl_ec_point_initialize(int argc, VALUE *argv, VALUE self) /* * call-seq: + * point1.eql?(point2) => true | false * point1 == point2 => true | false * */ |