summaryrefslogtreecommitdiff
path: root/lang/ruby19-base/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby19-base/patches/patch-ad')
-rw-r--r--lang/ruby19-base/patches/patch-ad19
1 files changed, 0 insertions, 19 deletions
diff --git a/lang/ruby19-base/patches/patch-ad b/lang/ruby19-base/patches/patch-ad
deleted file mode 100644
index 0d5c39ddc66..00000000000
--- a/lang/ruby19-base/patches/patch-ad
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $
-
-Use proper OpenSSL's API.
-
---- ext/openssl/ossl_ssl.c.orig 2010-05-23 12:18:51.000000000 +0000
-+++ ext/openssl/ossl_ssl.c
-@@ -700,10 +700,10 @@ ossl_sslctx_get_ciphers(VALUE self)
- if (!ciphers)
- return rb_ary_new();
-
-- num = sk_num((STACK*)ciphers);
-+ num = sk_SSL_CIPHER_num(ciphers);
- ary = rb_ary_new2(num);
- for(i = 0; i < num; i++){
-- cipher = (SSL_CIPHER*)sk_value((STACK*)ciphers, i);
-+ cipher = sk_SSL_CIPHER_value(ciphers, i);
- rb_ary_push(ary, ossl_ssl_cipher_to_ary(cipher));
- }
- return ary;