summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-du
blob: 135c749548e1dae8566af080c006697bf6ad979a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-du,v 1.2 2010/09/10 03:29:00 taca Exp $

Constify.

--- ext/openssl/ossl_x509ext.c.orig	2010-05-24 23:58:49.000000000 +0000
+++ ext/openssl/ossl_x509ext.c
@@ -274,7 +274,7 @@ static VALUE
 ossl_x509ext_initialize(int argc, VALUE *argv, VALUE self)
 {
     VALUE oid, value, critical;
-    unsigned char *p;
+    const unsigned char *p;
     X509_EXTENSION *ext;
 
     GetX509Ext(self, ext);