error: `PEM_F_DEF_CALLBACK' undeclared

Bug #23493 reported by Debian Bug Importer
6
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://bugs.debian.org/332791

Revision history for this message
In , C.Y.M. (syphir) wrote : Re: Bug#332791: Acknowledgement (error: `PEM_F_DEF_CALLBACK' undeclared )

Here is a patch to fix the problem:

--- httpd-2.0.54.orig/modules/ssl/ssl_toolkit_compat.h 2005-02-04
12:21:18.000000000 -0800
+++ httpd-2.0.54/modules/ssl/ssl_toolkit_compat.h 2005-07-06
08:50:38.468750000 -0700
@@ -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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #332791 http://bugs.debian.org/332791

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 08 Oct 2005 09:48:47 -0700
From: "C.Y.M" <email address hidden>
To: Submit Debian Bugs <email address hidden>
Subject: error: `PEM_F_DEF_CALLBACK' undeclared

Package: apache2
Version: 2.0.54-5
Severity: grave

Apache2 no longer builds with new openssl-0.9.8 package.

/var/local/apache2/apache2-2.0.54/build-tree/apache2/modules/ssl/ssl_engine_pphrase.c:
In function `ssl_pphrase_Handle_CB':
/var/local/apache2/apache2-2.0.54/build-tree/apache2/modules/ssl/ssl_engine_pphrase.c:684:
error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
/var/local/apache2/apache2-2.0.54/build-tree/apache2/modules/ssl/ssl_engine_pphrase.c:684:
error: (Each undeclared identifier is reported only once
/var/local/apache2/apache2-2.0.54/build-tree/apache2/modules/ssl/ssl_engine_pphrase.c:684:
error: for each function it appears in.)
make[4]: *** [ssl_engine_pphrase.slo] Error 1

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 08 Oct 2005 10:51:27 -0700
From: "C.Y.M" <email address hidden>
To: <email address hidden>
Subject: Re: Bug#332791: Acknowledgement (error: `PEM_F_DEF_CALLBACK' undeclared
 )

Here is a patch to fix the problem:

--- httpd-2.0.54.orig/modules/ssl/ssl_toolkit_compat.h 2005-02-04
12:21:18.000000000 -0800
+++ httpd-2.0.54/modules/ssl/ssl_toolkit_compat.h 2005-07-06
08:50:38.468750000 -0700
@@ -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

Revision history for this message
Adam Conrad (adconrad) wrote :

This will bite us as soon as we import openssl0.9.8 and try to transition, will
keep an eye on it.

Revision history for this message
In , Adam Conrad (adconrad) wrote : Bug#332791: fixed in apache2 2.0.55-1
Download full text (6.3 KiB)

Source: apache2
Source-Version: 2.0.55-1

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:

apache2-common_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-common_2.0.55-1_i386.deb
apache2-doc_2.0.55-1_all.deb
  to pool/main/a/apache2/apache2-doc_2.0.55-1_all.deb
apache2-mpm-perchild_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.0.55-1_i386.deb
apache2-mpm-prefork_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.0.55-1_i386.deb
apache2-mpm-worker_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.0.55-1_i386.deb
apache2-prefork-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.0.55-1_i386.deb
apache2-threaded-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.0.55-1_i386.deb
apache2-utils_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-utils_2.0.55-1_i386.deb
apache2_2.0.55-1.diff.gz
  to pool/main/a/apache2/apache2_2.0.55-1.diff.gz
apache2_2.0.55-1.dsc
  to pool/main/a/apache2/apache2_2.0.55-1.dsc
apache2_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2_2.0.55-1_i386.deb
apache2_2.0.55.orig.tar.gz
  to pool/main/a/apache2/apache2_2.0.55.orig.tar.gz
libapr0-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0-dev_2.0.55-1_i386.deb
libapr0_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0_2.0.55-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 17 Oct 2005 13:00:13 +1000
Source: apache2
Binary: apache2-utils apache2 apache2-prefork-dev apache2-mpm-prefork apache2-doc libapr0-dev apache2-mpm-worker libapr0 apache2-threaded-dev apache2-common apache2-mpm-perchild
Architecture: source i386 all
Version: 2.0.55-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <email address hidden>
Changed-By: Adam Conrad <adconrad@0c3.net>
Description:
 apache2 - next generation, scalable, extendable web server
 apache2-common - next generation, scalable, extendable web server
 apache2-doc - documentation for apache2
 apache2-mpm-perchild - experimental high speed perchild threaded model for Apache2
 apache2-mpm-prefork - traditional model for Apache2
 apache2-mpm-worker - high speed threaded model for Apache2
 apache2-prefork-dev - development headers for apache2
 apache2-threaded-dev - development headers for apache2
 apache2-utils - utility programs for webservers
 libapr0 - the Apache Portable Runtime
 libapr0-dev - development headers for libapr
Closes: 303076 316303 327269 331741 332791 333363
Changes:
 apache2 (2.0.55-1) unstable; ...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.5 KiB)

Message-Id: <email address hidden>
Date: Sat, 22 Oct 2005 18:47:11 -0700
From: Adam Conrad <adconrad@0c3.net>
To: <email address hidden>
Subject: Bug#332791: fixed in apache2 2.0.55-1

Source: apache2
Source-Version: 2.0.55-1

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:

apache2-common_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-common_2.0.55-1_i386.deb
apache2-doc_2.0.55-1_all.deb
  to pool/main/a/apache2/apache2-doc_2.0.55-1_all.deb
apache2-mpm-perchild_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.0.55-1_i386.deb
apache2-mpm-prefork_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.0.55-1_i386.deb
apache2-mpm-worker_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.0.55-1_i386.deb
apache2-prefork-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.0.55-1_i386.deb
apache2-threaded-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.0.55-1_i386.deb
apache2-utils_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2-utils_2.0.55-1_i386.deb
apache2_2.0.55-1.diff.gz
  to pool/main/a/apache2/apache2_2.0.55-1.diff.gz
apache2_2.0.55-1.dsc
  to pool/main/a/apache2/apache2_2.0.55-1.dsc
apache2_2.0.55-1_i386.deb
  to pool/main/a/apache2/apache2_2.0.55-1_i386.deb
apache2_2.0.55.orig.tar.gz
  to pool/main/a/apache2/apache2_2.0.55.orig.tar.gz
libapr0-dev_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0-dev_2.0.55-1_i386.deb
libapr0_2.0.55-1_i386.deb
  to pool/main/a/apache2/libapr0_2.0.55-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 17 Oct 2005 13:00:13 +1000
Source: apache2
Binary: apache2-utils apache2 apache2-prefork-dev apache2-mpm-prefork apache2-doc libapr0-dev apache2-mpm-worker libapr0 apache2-threaded-dev apache2-common apache2-mpm-perchild
Architecture: source i386 all
Version: 2.0.55-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <email address hidden>
Changed-By: Adam Conrad <adconrad@0c3.net>
Description:
 apache2 - next generation, scalable, extendable web server
 apache2-common - next generation, scalable, extendable web server
 apache2-doc - documentation for apache2
 apache2-mpm-perchild - experimental high speed perchild threaded model for Apache2
 apache2-mpm-prefork - traditional model for Apache2
 apache2-mpm-worker - high speed threaded model for Apache2
 apache2-prefork-dev - development headers for apache2
 apache2-threaded-dev - development headers for apache2
 apache2-utils - utili...

Read more...

Revision history for this message
Adam Conrad (adconrad) wrote :

This was fixed in 2.0.55

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.