blob: 7c9c5e73159a6fac3f5357c517ff8ee3b36ffe89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$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
|