aboutsummaryrefslogtreecommitdiffstats
path: root/lib/openssl.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-07-03 11:27:45 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-07-09 02:45:42 +0900
commit6c09fd3ef5422d798f6674094b9f222c3abae660 (patch)
treecdc087a5a4394f73295c9ea4671290f0b2ecb2b0 /lib/openssl.rb
parent1b8bcdb1dc06626a285859570a1e67037df47d8e (diff)
downloadruby-openssl-topic/pkey-read-pkey-error.tar.gz
pkey: make PKey.read raise PKey::PKeyError rather than ArgumentErrortopic/pkey-read-pkey-error
PKey.read is a generic method to load an arbitrary PKey structure from a PEM or DER encoded String. Each PKey classes's constructor also can load from a String, but the behavior on error is different. While they raises its own exception (are subclasses of PKey::PKeyError), PKey.read raises ArgumentError. [Bug #11774]
Diffstat (limited to 'lib/openssl.rb')
0 files changed, 0 insertions, 0 deletions