You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2005/07/06 17:10:38 UTC

svn commit: r209468 - /httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h

Author: wrowe
Date: Wed Jul  6 08:10:36 2005
New Revision: 209468

URL: http://svn.apache.org/viewcvs?rev=209468&view=rev
Log:

  Accomodate API changes to OpenSSL 0.9.8 (now in beta).
  For all currently building platforms, this is a noop.

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

Modified:
    httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h

Modified: httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h?rev=209468&r1=209467&r2=209468&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h (original)
+++ httpd/httpd/branches/2.0.x/modules/ssl/ssl_toolkit_compat.h Wed Jul  6 08:10:36 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 */