pkgsrc/www/apache2/patches/patch-ao
2005-10-11 20:10:35 +00:00

17 lines
493 B
Text

$NetBSD: patch-ao,v 1.7 2005/10/11 20:10:35 joerg Exp $
--- modules/ssl/ssl_toolkit_compat.h.orig 2005-10-11 18:24:59.000000000 +0000
+++ modules/ssl/ssl_toolkit_compat.h
@@ -24,6 +24,12 @@
#ifdef OPENSSL_VERSION_NUMBER
+#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL)
+#ifndef PEM_F_DEF_CALLBACK
+#define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
+#endif
+#endif
+
/*
* rsa sslc uses incomplete types for most structures
* so we macroize for OpenSSL those which cannot be dereferenced