Bug #13522 Updated: openssl_seal always returns FALSE
| From: | wez@php.net | Date: | Wed, 03 Oct 2001 12:57:47 +0000 |
| Subject: | Bug #13522 Updated: openssl_seal always returns FALSE | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67202@lists.php.net to get a copy of this message | ||
ID: 13522
Updated by: wez
Reported By: kanareykin+nospam@denison.edu
Old Status: Open
Status: Feedback
Bug Type: OpenSSL related
Operating System: SunOS 5.7
PHP Version: 4.0.4pl1
New Comment:
Please try with PHP 4.0.6 or PHP 4.0.7RC3.
If you are still getting a false return, try using
the openssl_error_string() as mentioned in the online
manual.
--Wez.
Previous Comments:
------------------------------------------------------------------------
[2001-10-02 17:28:18] kanareykin+nospam@denison.edu
I can't get the example openssl_seal() code (given in the online manual) to work. The function
always returns FALSE without specifying an error; sealed data and envelope keys are void. I'm
using the demo key and certificate that comes with OpenSSL 0.9.6a (in demos dir) and all of the
other functions (like openssl_get_public_key) seem to work, i.e. they return resource identifiers.
Config line:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-cybercash=/usr/installs/mck-3.3.1-sparc-sun-solaris2.7''--with-mysql=/usr/local'
'--with-xml' '--with-oci8'
'--with-curl=/usr/local''--with-openssl=/usr/local'
'--with-ldap=/usr/local'
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13522&edit=1