summaryrefslogtreecommitdiff
path: root/security/ruby-openssl/patches/patch-aa
blob: 23b111dfe0b0aaa78498c624b03f722db21559ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.3 2005/03/06 16:52:40 taca Exp $

--- ossl_config.c.orig	2004-12-15 10:54:39.000000000 +0900
+++ 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;
 }