ID:               22809
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php-bugs at liwing dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         OpenSSL related
 Operating System: FreeBSD (4.8RC and 5.0)
 PHP Version:      4.3.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


Previous Comments:
------------------------------------------------------------------------

[2003-03-20 17:52:27] php-bugs at liwing dot de

In PHP 4.3.1 the use of OpenSSL fails when the private key comes from a
string instead of a file. The test case for openssl fails, too.

To reproduce the bug, simply run the "make test" on a current build
FreeBSD system. I don't know about others, but I assume either an
incompatibility with OpenSSL 0.9.7a (because the d2i_PrivateKey method
used by the php wrapper seems to have a problem).

Using the OpenSSL commandline tools I can use my private/public keys to
sign and verify files. Because I don't know much about OpenSSL I cannot
verify the reason of the failure. The occurance seems somewhere around
line 1747 in file ext/openssl/openssl.c

If the script in the test case isn't enough (what it should), I can
attach an own one.

Kind Regards,
Jens

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22809&edit=1

Reply via email to