* 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
This commit is contained in:
emboss 2011-08-16 20:06:13 +00:00
parent dea63e4ba2
commit 03c9ff29ce
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Wed Aug 17 05:02:25 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* backport r32987 from trunk.
* ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does
*not* support #sign/verify.
Tue Aug 16 18:56:54 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> Tue Aug 16 18:56:54 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm.c (ruby_threadptr_data_type): rename to hide. * vm.c (ruby_threadptr_data_type): rename to hide.

View file

@ -370,11 +370,11 @@ Init_ossl_pkey()
/* Document-class: OpenSSL::PKey::PKey /* Document-class: OpenSSL::PKey::PKey
* *
* An abstract class that bundles signature creation (PKey#sign) and * 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::RSA
* * OpenSSL::PKey::DSA * * OpenSSL::PKey::DSA
* * OpenSSL::PKey::EC * * OpenSSL::PKey::EC
* * OpenSSL::PKey::DH
*/ */
cPKey = rb_define_class_under(mPKey, "PKey", rb_cObject); cPKey = rb_define_class_under(mPKey, "PKey", rb_cObject);