Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25486 invoked from network); 22 Jun 2008 21:51:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2008 21:51:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 66.102.165.7 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 66.102.165.7 atlmtaow02.cingularme.com Solaris 8 (1) Received: from [66.102.165.7] ([66.102.165.7:48934] helo=atlmtaow02.cingularme.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/76-23032-659CE584 for ; Sun, 22 Jun 2008 17:51:19 -0400 Received: from COM ([32.151.48.122]) by atlmtaow02.cingularme.com (InterMail vM.6.01.04.00 201-2131-118-20041027) with SMTP id <20080622215109.PNGU6859.atlmtaow02.cingularme.com@COM>; Sun, 22 Jun 2008 17:51:09 -0400 To: "Steph Fox" ,"Marcus Boerger" cc: "internals" Date: Sun, 22 Jun 2008 16:50:00 -0400 Mime-Version: 1.0 X-Mailer: VersaMail(c) 1998-2004 3.1C, palmOne, Inc. X-Sender: greg@chiaraquartet.net X-Priority: 3 Importance: Normal Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Message-ID: <20080622215109.PNGU6859.atlmtaow02.cingularme.com@COM> Subject: Re: OpenSSL and Phar From: greg@chiaraquartet.net Hi, Steph, look more closely, the libraries are only used if openssl is built statically. Otherwise, phar directly calls openssl_verify or openssl_sign. Greg -----Original Message----- From: "Steph Fox" Subj: OpenSSL and Phar Date: Sun Jun 22, 2008 4:32 pm Size: 701 bytes To: "Greg Beaver" ,"Marcus Boerger" cc: "internals" Hi Greg, all, It seems we don't use the openssl extension API at all in ext/phar, just the actual OpenSSL headers and libs. That means Phar with OpenSSL support can be both built and run without ext/openssl being built at all, but requires third-party libs (under Windows at least - ssleay32.dll and libeay32.dll) in the same way that ext/openssl does. I'm wondering if we shouldn't have a separate configuration option for this - something like --enable-phar-ssl - rather than testing for --with-openssl in the config line. The chief advantage of this approach is that it doesn't matter whether phar-ssl is built as shared or not, since the dependency is outside PHP. Thoughts? - Steph