summaryrefslogtreecommitdiff
path: root/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c')
-rw-r--r--package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c b/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c
new file mode 100644
index 000000000..1649e0f10
--- /dev/null
+++ b/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c
@@ -0,0 +1,12 @@
+--- ruby-1.9.1-p378.orig/ext/openssl/ossl_pkcs7.c 2008-07-22 17:34:23.000000000 +0200
++++ ruby-1.9.1-p378/ext/openssl/ossl_pkcs7.c 2010-06-02 21:05:44.261613234 +0200
+@@ -572,7 +572,8 @@ ossl_pkcs7_add_certificate(VALUE self, V
+ return self;
+ }
+
+-static STACK *
++
++static STACK_OF(X509) *
+ pkcs7_get_certs_or_crls(VALUE self, int want_certs)
+ {
+ PKCS7 *pkcs7;