diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-21 19:21:32 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-21 19:21:32 +0900 |
commit | edf809c1749c0827a4382296e0f01e0fcb898c4d (patch) | |
tree | ee9c1219c6d7fa58bd5d2ada3fd1fad2fdff871c | |
parent | 981925f756573aabeb77b8830a12cb632651e509 (diff) | |
download | ruby-openssl-edf809c1749c0827a4382296e0f01e0fcb898c4d.tar.gz |
Sync with v2.0.2
-rw-r--r-- | OpenSSL/PKey/PKey.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/PKey/PKey.html b/OpenSSL/PKey/PKey.html index 1f1f2043..a0b36d19 100644 --- a/OpenSSL/PKey/PKey.html +++ b/OpenSSL/PKey/PKey.html @@ -149,7 +149,7 @@ this method explicitly will raise a <code>NotImplementedError</code>.</p> ossl_pkey_initialize(VALUE self) { if (rb_obj_is_instance_of(self, cPKey)) { - ossl_raise(rb_eNotImpError, "OpenSSL::PKey::PKey is an abstract class."); + ossl_raise(rb_eTypeError, "OpenSSL::PKey::PKey can't be instantiated directly"); } return self; }</pre> |