Skip to content

Commit

Permalink
* NEWS: add note about unified behavior of encoding nil values in
Browse files Browse the repository at this point in the history
  instances of OpenSSL::ASN1::ASN1Data.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
emboss committed Mar 28, 2012
1 parent 0443aea commit 7d8a895
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Mar 29 08:25:35 2012 Martin Bosslet <[email protected]>

* NEWS: add note about unified behavior of encoding nil values in
instances of OpenSSL::ASN1::ASN1Data.

Thu Mar 29 07:45:36 2012 Martin Bosslet <[email protected]>

* ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ with all sufficient information, see the ChangeLog file.
* zlib
* Added support for the new deflate strategies Zlib::RLE and Zlib::FIXED.

* openssl
* Consistently raise an error when trying to encode nil values. All instances
of OpenSSL::ASN1::Primitive now raise TypeError when calling to_der on an
instance whose value is nil. All instances of OpenSSL::ASN1::Constructive
raise NoMethodError in the same case. Constructing such values is still
permitted.

=== Language changes
=== Compatibility issues (excluding feature bug fixes)

Expand Down

0 comments on commit 7d8a895

Please sign in to comment.