[前][次][番号順一覧][スレッド一覧]

ruby-changes:23111

From: emboss <ko1@a...>
Date: Thu, 29 Mar 2012 08:28:27 +0900 (JST)
Subject: [ruby-changes:23111] emboss:r35161 (trunk): * NEWS: add note about unified behavior of encoding nil values in

emboss	2012-03-29 08:28:17 +0900 (Thu, 29 Mar 2012)

  New Revision: 35161

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35161

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

  Modified files:
    trunk/ChangeLog
    trunk/NEWS

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35160)
+++ ChangeLog	(revision 35161)
@@ -1,3 +1,8 @@
+Thu Mar 29 08:25:35 2012  Martin Bosslet  <Martin.Bosslet@g...>
+
+	* 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@g...>
 
 	* ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
Index: NEWS
===================================================================
--- NEWS	(revision 35160)
+++ NEWS	(revision 35161)
@@ -83,6 +83,13 @@
 * 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)
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]