aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-28 23:28:17 +0000
committeremboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-28 23:28:17 +0000
commit7d8a8956de4a099f0d1916caf8fd35e9a8fbb517 (patch)
tree876269647365d95d4e05002961f3a3be34cd3611
parent0443aeab77b0f9542fa16b06e368939ab385495c (diff)
downloadruby-7d8a8956de4a099f0d1916caf8fd35e9a8fbb517.tar.gz
* NEWS: add note about unified behavior of encoding nil values in
instances of OpenSSL::ASN1::ASN1Data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--NEWS7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 30acb0d3e1..d209bdbd74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 29 08:25:35 2012 Martin Bosslet <Martin.Bosslet@googlemail.com>
+
+ * 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 <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
diff --git a/NEWS b/NEWS
index c8d8e74745..2c9b08b568 100644
--- a/NEWS
+++ b/NEWS
@@ -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)