aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/files/build-fix-openssl_beta
blob: 04f018790793be8ab53fd4425450919fce275126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- modules/ssl/ssl_toolkit_compat.h.orig   Fri Feb  4 21:21:18 2005
+++ modules/ssl/ssl_toolkit_compat.h    Tue Aug 30 01:42:51 2005
@@ -99,6 +99,13 @@
 #define HAVE_SSL_X509V3_EXT_d2i
 #endif
 
+#ifndef PEM_F_DEF_CALLBACK
+#ifdef PEM_F_PEM_DEF_CALLBACK
+/* In OpenSSL 0.9.8 PEM_F_DEF_CALLBACK was renamed */
+#define PEM_F_DEF_CALLBACK PEM_F_PEM_DEF_CALLBACK
+#endif
+#endif
+
 #elif defined (SSLC_VERSION_NUMBER) /* RSA */
 
 /* sslc does not support this function, OpenSSL has since 9.5.1 */