* ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): used
conditionally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d89dbc4d3b
commit
641bdd84ef
@ -124,12 +124,14 @@ ossl_cipher_copy(VALUE self, VALUE other)
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_OBJ_NAME_DO_ALL_SORTED
|
||||||
static void*
|
static void*
|
||||||
add_cipher_name_to_ary(const OBJ_NAME *name, VALUE ary)
|
add_cipher_name_to_ary(const OBJ_NAME *name, VALUE ary)
|
||||||
{
|
{
|
||||||
rb_ary_push(ary, rb_str_new2(name->name));
|
rb_ary_push(ary, rb_str_new2(name->name));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user