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" <[EMAIL PROTECTED]>
Subj:  OpenSSL and Phar
Date:  Sun Jun 22, 2008 4:32 pm
Size:  701 bytes
To:  "Greg Beaver" <[EMAIL PROTECTED]>,"Marcus Boerger" <[EMAIL PROTECTED]>
cc:  "internals" <internals@lists.php.net>


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 



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to