]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Accomodate API changes to OpenSSL 0.9.8 (now in beta).
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 6 Jul 2005 15:10:36 +0000 (15:10 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 6 Jul 2005 15:10:36 +0000 (15:10 +0000)
  For all currently building platforms, this is a noop.

Submitted by: Georg v. Zezschwitz <gzv 2scale.de>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@209468 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_toolkit_compat.h

index fc41341a4420c27fb2d754279c033a0dc243aee7..33f88e61c99851df1e0ba1d94003536215eae7ba 100644 (file)
@@ -99,6 +99,13 @@ typedef int (modssl_read_bio_cb_fn)(char*,int,int,void*);
 #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 */