error: `PEM_F_DEF_CALLBACK' undeclared
Bug #23493 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Debian) |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Adam Conrad |
Bug Description
Automatically imported from Debian bug report #332791 http://
To post a comment you must log in.
Here is a patch to fix the problem:
--- httpd-2. 0.54.orig/ modules/ ssl/ssl_ toolkit_ compat. h 2005-02-04 0.54/modules/ ssl/ssl_ toolkit_ compat. h 2005-07-06
12:21:18.000000000 -0800
+++ httpd-2.
08:50:38.468750000 -0700
@@ -24,6 +24,12 @@
#ifdef OPENSSL_ VERSION_ NUMBER
+#if (OPENSSL_ VERSION_ NUMBER >= 0x0090800fL) DEF_CALLBACK
+#ifndef PEM_F_DEF_CALLBACK
+#define PEM_F_DEF_CALLBACK PEM_F_PEM_
+#endif
+#endif
+
/*
* rsa sslc uses incomplete types for most structures
* so we macroize for OpenSSL those which cannot be dereferenced