summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-06 15:29:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-06 15:29:39 +0000
commit641bdd84ef675cfb9a472a1969052afd9f7fbd46 (patch)
treecc3e52a6f5f7b0544571d3d347227cd0865c9867 /ext
parentd89dbc4d3b0145e64d726cce21c9f4f7aed3bc5c (diff)
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/openssl/ossl_cipher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/ossl_cipher.c b/ext/openssl/ossl_cipher.c
index 38d94a1..27d152a 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: