ruby-changes:7183
From: akr <ko1@a...>
Date: Tue, 19 Aug 2008 17:35:03 +0900 (JST)
Subject: [ruby-changes:7183] Ruby:r18702 (trunk): * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the
akr 2008-08-19 17:34:42 +0900 (Tue, 19 Aug 2008) New Revision: 18702 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18702 Log: * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the result of d2i_X509_NAME into DATA_PTR(self). Modified files: trunk/ChangeLog trunk/ext/openssl/ossl_x509name.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18701) +++ ChangeLog (revision 18702) @@ -1,3 +1,8 @@ +Tue Aug 19 17:32:30 2008 Tanaka Akira <akr@f...> + + * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the + result of d2i_X509_NAME into DATA_PTR(self). + Tue Aug 19 04:54:39 2008 Nobuyoshi Nakada <nobu@r...> * lib/rake.rb (FileUtils#ruby): takes care of space containing path. Index: ext/openssl/ossl_x509name.c =================================================================== --- ext/openssl/ossl_x509name.c (revision 18701) +++ ext/openssl/ossl_x509name.c (revision 18702) @@ -143,6 +143,7 @@ if(!d2i_X509_NAME(&x, &p, RSTRING_LEN(str)) && (DATA_PTR(self) = x, 1)){ ossl_raise(eX509NameError, NULL); } + DATA_PTR(self) = x; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/