From owner-freebsd-isp  Thu Jun 26 23:26:02 1997
Return-Path: <owner-isp>
Received: (from root@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id XAA06407
          for isp-outgoing; Thu, 26 Jun 1997 23:26:02 -0700 (PDT)
Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA06402
          for <freebsd-isp@FreeBSD.ORG>; Thu, 26 Jun 1997 23:26:00 -0700 (PDT)
Received: from znep.com (uucp@localhost)
	by scanner.worldgate.com (8.8.5/8.8.5) with UUCP id AAA20060;
	Fri, 27 Jun 1997 00:25:43 -0600 (MDT)
Received: from localhost (marcs@localhost) by alive.znep.com (8.7.5/8.7.3) with SMTP id AAA01067; Fri, 27 Jun 1997 00:27:00 -0600 (MDT)
Date: Fri, 27 Jun 1997 00:26:59 -0600 (MDT)
From: Marc Slemko <marcs@znep.com>
To: Chris Shenton <chris@absinthe.i3inc.com>
cc: daniel@vailsys.com, freebsd-isp@FreeBSD.ORG
Subject: Re: SSLeay and Apache 1.2.0
In-Reply-To: <199706262328.TAA06141@absinthe.i3inc.com>
Message-ID: <Pine.BSF.3.95.970627002438.29911B-100000@alive.znep.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-isp@FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk

On Thu, 26 Jun 1997, Chris Shenton wrote:

> The SSL patches I found were for something earlier than Apache-1.2.0
> (RELEASE); the beta maybe?  I didn't use a port, but unpacked and
> built by hand, following the instructions in the SSL patch kit. I had
> to do lots of manual editing of the hunks rejected by "patch". Finally
> got it to compile and run.
> 
> But when I connected to it, the daemon starting dumping core every 3
> seconds or so. Bummer. Haven't had time to look into why.
> 
> If anyone's got a fix, or more current SSL-patches, I'd love to get
> ahold of 'em.

Assuming you are talking about the 1.2b10+ssl_1.6 patch, the problem is
that the ApacheSSLSetupConnection line in http_main.c is in the wrong
place.  It should be just after the line that calls new_connection (~line
1851).