mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
StringValue before GetSPKI. fixed: [ruby-dev:25359]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c822a56f7
commit
91af84cc66
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Sat Jan 1 04:20:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* ext/openssl/ossl_ns_spki.c (ossl_spki_set_challenge): should call
|
||||
StringValue before GetSPKI. fixed: [ruby-dev:25359].
|
||||
|
||||
Sat Jan 1 01:13:28 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_autoload): [ruby-dev:25373]
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue