From 641bdd84ef675cfb9a472a1969052afd9f7fbd46 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Feb 2009 15:29:39 +0000 Subject: * 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 --- ext/openssl/ossl_cipher.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/openssl/ossl_cipher.c') diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c index 38d94a1196..27d152a61a 100644 --- a/ext/openssl/ossl_cipher.c +++ b/ext/openssl/ossl_cipher.c @@ -124,12 +124,14 @@ ossl_cipher_copy(VALUE self, VALUE other) return self; } +#ifdef HAVE_OBJ_NAME_DO_ALL_SORTED static void* add_cipher_name_to_ary(const OBJ_NAME *name, VALUE ary) { rb_ary_push(ary, rb_str_new2(name->name)); return NULL; } +#endif /* * call-seq: -- cgit v1.2.3