From 5c67d206a7923e02f69aa7c4605bf1a76f6b21f8 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 23 Apr 2010 14:28:56 +0000 Subject: [PATCH] * ext/openssl/ossl_config.c: fix compilation failure with OpenSSL 0.9.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/openssl/ossl_config.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f618402839..1562f0d48f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 23 23:27:17 2010 Tanaka Akira + + * ext/openssl/ossl_config.c: fix compilation failure with + OpenSSL 0.9.8. + Fri Apr 23 17:29:35 2010 NAKAMURA Usaku * ext/openssl/ossl_config.c: OpenSSL 1.0.0 support. diff --git a/ext/openssl/ossl_config.c b/ext/openssl/ossl_config.c index 91faacf94b..22ea9dea5d 100644 --- a/ext/openssl/ossl_config.c +++ b/ext/openssl/ossl_config.c @@ -312,7 +312,7 @@ ossl_config_get_section_old(VALUE self, VALUE section) return ossl_config_get_section(self, section); } -#ifdef IMPLEMENT_LHASH_DOALL_ARG_FN +#if defined(IMPLEMENT_LHASH_DOALL_ARG_FN) && defined(LHASH_OF) static void get_conf_section_doall_arg(CONF_VALUE *cv, void *tmp) {