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

DO NOT ADD SUCH LONG PARTS OF TEXT IN HERE!!!!!!

I deleted that comment. Please attach MAXIMUM of 15-20 lines. And
preferrably text that actually includes the ERROR
you get.



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

[2003-03-21 10:36:05] php-bugs at liwing dot de

What I have forgotten. I have replaced the source of PHP-4.3.2RC1 with
the stable sources you've recommented. So this is not the error in RC1
(where is it, too) but in yesterdays(?) stable.

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

[2003-03-20 18:09:22] [EMAIL PROTECTED]

The openssl tests do not fail for me at least, but I tested 
this on Linux. (using openSSL 0.9.7a) 

So please give it a go on FreeBSD, it should work now.



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

[2003-03-20 18:04:57] php-bugs at liwing dot de

The patch looks good. I'll try to build in in next few days and reply
whether it works as expected or not. Did the tests run fine?

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

[2003-03-20 17:53:51] [EMAIL PROTECTED]

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

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

[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