diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ext/openssl/ossl_ns_spki.c | 2 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,12 @@ +Sat Jan 1 04:20:23 2005 GOTOU Yuuzou <[email protected]> + + * ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call + StringValue before GetSPKI. fixed: [ruby-dev:25359]. + Fri Dec 31 14:10:43 2004 Dave Thomas <[email protected]> - * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item): Fix problem - if heading contains formatting. + * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::display_flow_item): + Fix problem if heading contains formatting. Fri Dec 31 00:08:02 2004 Tanaka Akira <[email protected]> diff --git a/ext/openssl/ossl_ns_spki.c b/ext/openssl/ossl_ns_spki.c index 37fd88e3ba..c4ad05dea3 100644 --- a/ext/openssl/ossl_ns_spki.c +++ b/ext/openssl/ossl_ns_spki.c @@ -155,8 +155,8 @@ ossl_spki_set_challenge(VALUE self, VALUE str) { NETSCAPE_SPKI *spki; - GetSPKI(self, spki); StringValue(str); + GetSPKI(self, spki); if (!ASN1_STRING_set(spki->spkac->challenge, RSTRING(str)->ptr, RSTRING(str)->len)) { ossl_raise(eSPKIError, NULL); |