summaryrefslogtreecommitdiff
path: root/www/apache2/patches/patch-ah
blob: e6ccb184e62f820e47de971ade90f67e46cbbbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.11 2010/11/01 18:03:04 adam Exp $

--- modules/ssl/ssl_engine_kernel.c.orig	2010-09-28 15:59:13.000000000 +0000
+++ modules/ssl/ssl_engine_kernel.c
@@ -573,7 +573,7 @@ int ssl_hook_Access(request_rec *r)
                  * sk_X509_shift-ed the peer cert out of the chain.
                  * we put it back here for the purpose of quick_renegotiation.
                  */
-                cert_stack = sk_new_null();
+                cert_stack = sk_X509_new_null();
                 sk_X509_push(cert_stack, MODSSL_PCHAR_CAST cert);
             }