mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: fix typo.
[ruby-core:07571] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c57afb6c0
commit
8dd7e8bee6
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Mar 17 19:08:49 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: fix typo.
|
||||||
|
[ruby-core:07571]
|
||||||
|
|
||||||
Wed Mar 15 16:54:21 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Mar 15 16:54:21 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (create_makefile): support libraries without *.so.
|
* lib/mkmf.rb (create_makefile): support libraries without *.so.
|
||||||
|
|
|
@ -168,7 +168,7 @@ ossl_spki_get_challenge(VALUE self)
|
||||||
GetSPKI(self, spki);
|
GetSPKI(self, spki);
|
||||||
if (spki->spkac->challenge->length <= 0) {
|
if (spki->spkac->challenge->length <= 0) {
|
||||||
OSSL_Debug("Challenge.length <= 0?");
|
OSSL_Debug("Challenge.length <= 0?");
|
||||||
return str_str_new(0, 0);
|
return rb_str_new(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return rb_str_new(spki->spkac->challenge->data,
|
return rb_str_new(spki->spkac->challenge->data,
|
||||||
|
|
|
@ -461,7 +461,7 @@ ossl_sslctx_set_ciphers(VALUE self, VALUE v)
|
||||||
if (NIL_P(v))
|
if (NIL_P(v))
|
||||||
return v;
|
return v;
|
||||||
else if (TYPE(v) == T_ARRAY) {
|
else if (TYPE(v) == T_ARRAY) {
|
||||||
str = str_str_new(0, 0);
|
str = rb_str_new(0, 0);
|
||||||
for (i = 0; i < RARRAY(v)->len; i++) {
|
for (i = 0; i < RARRAY(v)->len; i++) {
|
||||||
elem = rb_ary_entry(v, i);
|
elem = rb_ary_entry(v, i);
|
||||||
if (TYPE(elem) == T_ARRAY) elem = rb_ary_entry(elem, 0);
|
if (TYPE(elem) == T_ARRAY) elem = rb_ary_entry(elem, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue