summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 14:28:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-23 14:28:56 +0000
commit5c67d206a7923e02f69aa7c4605bf1a76f6b21f8 (patch)
treeeb8e31e9f5a666a43c984cafdecc6613fd3b18ed
parent141cbdfe354790c0c097f287391e72dfc77d32a0 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--ext/openssl/ossl_config.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f618402..1562f0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 23 23:27:17 2010 Tanaka Akira <akr@fsij.org>
+
+ * ext/openssl/ossl_config.c: fix compilation failure with
+ OpenSSL 0.9.8.
+
Fri Apr 23 17:29:35 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* 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 91faacf..22ea9de 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)
{