diff options
author | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-28 22:53:18 +0000 |
---|---|---|
committer | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-28 22:53:18 +0000 |
commit | 5bef1c9223ffecbef27f01498f353087eb6c9275 (patch) | |
tree | 955b5663332a5e71c020b268f3002a8ed068e447 /ChangeLog | |
parent | 9bf9b3ef95e5a699b931435f482087c57439eda3 (diff) | |
download | ruby-5bef1c9223ffecbef27f01498f353087eb6c9275.tar.gz |
* ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
values for Primitive instances.
* test/openssl/test_asn1.rb: Assert consistent behavior when
encoding nil values: Primitives raise TypeError, Constructives
raise NoMethodError.
Fixes [ruby-core:43009][Bug #6102]
-This line, and those below, will be ignored--
M test/openssl/test_asn1.rb
M ext/openssl/ossl_asn1.c
M ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Thu Mar 29 07:45:36 2012 Martin Bosslet <Martin.Bosslet@googlemail.com> + + * ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil + values for Primitive instances. + * test/openssl/test_asn1.rb: Assert consistent behavior when + encoding nil values: Primitives raise TypeError, Constructives + raise NoMethodError. + Fixes [ruby-core:43009][Bug #6102] + Wed Mar 28 16:39:59 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (obj2uid, obj2gid): allow strings as input user/group id. |