blob: c121f8714bdb24318656fc7af9efe6d048953fa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ae,v 1.1 2005/11/02 08:56:40 taca Exp $
--- ext/openssl/ossl_config.c.orig 2004-12-15 10:54:39.000000000 +0900
+++ ext/openssl/ossl_config.c
@@ -245,7 +245,9 @@ set_conf_section_i(VALUE i, VALUE *arg)
static VALUE
ossl_config_set_section(VALUE self, VALUE section, VALUE hash)
{
- VALUE arg[2] = { self, section };
+ VALUE arg[2];
+ arg[0] = self;
+ arg[1] = self;
rb_iterate(rb_each, hash, set_conf_section_i, (VALUE)arg);
return hash;
}
|