summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authoremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-16 20:06:13 +0000
committeremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-16 20:06:13 +0000
commit03c9ff29ce15c1fb47281d22fa10ef3624b26c78 (patch)
tree9351ff6c873f2848be366fa213e7d068bb2582e4 /ext
parentdea63e4ba22d354984ce0e9e4395f8aba7152ed3 (diff)
* backport r32987 from trunk.
* ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does *not* support #sign/verify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/openssl/ossl_pkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c
index 43812daa9c..0600c9e29d 100644
--- a/ext/openssl/ossl_pkey.c
+++ b/ext/openssl/ossl_pkey.c
@@ -370,11 +370,11 @@ Init_ossl_pkey()
/* Document-class: OpenSSL::PKey::PKey
*
* An abstract class that bundles signature creation (PKey#sign) and
- * validation (PKey#verify) that is common to all implementations:
+ * validation (PKey#verify) that is common to all implementations except
+ * OpenSSL::PKey::DH
* * OpenSSL::PKey::RSA
* * OpenSSL::PKey::DSA
* * OpenSSL::PKey::EC
- * * OpenSSL::PKey::DH
*/
cPKey = rb_define_class_under(mPKey, "PKey", rb_cObject);