Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 93949 invoked from network); 6 Jul 2005 17:10:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2005 17:10:51 -0000 Received: (qmail 66811 invoked by uid 500); 6 Jul 2005 17:10:44 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 66778 invoked by uid 500); 6 Jul 2005 17:10:44 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 66765 invoked by uid 99); 6 Jul 2005 17:10:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 10:10:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [137.65.81.169] (HELO sinclair.provo.novell.com) (137.65.81.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 10:10:44 -0700 Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Wed, 06 Jul 2005 11:10:40 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Wed, 06 Jul 2005 11:10:33 -0600 From: "Brad Nicholes" To: , Subject: Re: Patch for 2.0.54 + OpenSSL 0.9.8 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 500/1000/N I think that there are a few more changes that need to be made. At least = on NetWare it won't compile without the following additional patch. Brad Index: ssl_scache_shmcb.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ssl_scache_shmcb.c (revision 201624) +++ ssl_scache_shmcb.c (working copy) @@ -1184,7 +1184,7 @@ SHMCBHeader *header; SSL_SESSION *pSession =3D NULL; unsigned int curr_pos, loop, count; - unsigned char *ptr; + const unsigned char *ptr; time_t now; =20 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, @@ -1262,7 +1262,7 @@ SHMCBIndex *idx; SHMCBHeader *header; unsigned int curr_pos, loop, count; - unsigned char *ptr; + const unsigned char *ptr; BOOL to_return =3D FALSE; =20 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, Index: ssl_scache_dbm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ssl_scache_dbm.c (revision 201624) +++ ssl_scache_dbm.c (working copy) @@ -257,7 +257,7 @@ } =20 /* unstreamed SSL_SESSION */ - sess =3D d2i_SSL_SESSION(NULL, &ucpData, nData); + sess =3D d2i_SSL_SESSION(NULL, (const UCHAR**)&ucpData, nData); =20 return sess; } >>> wrowe@rowe-clan.net Wednesday, July 06, 2005 10:49:46 AM >>> At 11:19 AM 7/6/2005, Paul Querna wrote: >William A. Rowe, Jr. wrote: >>At 07:32 AM 7/5/2005, Georg v. Zezschwitz wrote: >> >>>However, currently 2.0.54 cannot be built with 0.9.8beta6, as >>>a pem.h-definition has changed. The OpenSSL-team considers this >>>renaming as a bug correction, so compilation of mod_ssl will >>>go on to fail. >> >>I've committed that fix to both 2.0 and 2.1 trees, thank you! >>In the future please separate each functional change into its=20 >>own patch. > >Whoa there. This should not of been committed to the 2.0 tree=20 >directly. There was no vote. I didn't see anyone else even give=20 >it a +1 on the mailing list. > >That said, it is a simple change, and I will give it a +1, but=20 >pleeeeease don't do that, 2.0.x is under RTC. Fair enough :) But I would not proceed to the 2.0 GA without this passing muster. That's two, so can Paul and I get another +1? Patch follows. Votes/Comments? Bill --- 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 =20 +#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=20 +#endif +#endif + #elif defined (SSLC_VERSION_NUMBER) /* RSA */ =20 /* sslc does not support this function, OpenSSL has since 9.5.1 */