Bug #61404 [Com]: ext\openssl\tests\021.phpt fails

From: Date: Thu, 15 Mar 2012 19:34:31 +0000
Subject: Bug #61404 [Com]: ext\openssl\tests\021.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168518@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61404&edit=1

 ID:                 61404
 Comment by:         ab@php.net
 Reported by:        ab@php.net
 Summary:            ext\openssl\tests\021.phpt fails
 Status:             Open
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   windows
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

The patches set the appropriate config option, which overrides the wrong global 
valie.


Previous Comments:
------------------------------------------------------------------------
[2012-03-15 19:34:05] ab@php.net

The following patch has been added/updated:

Patch Name: php54_021.diff
Revision:   1331840045
URL:        https://bugs.php.net/patch-display.php?bug=61404&patch=php54_021.diff&revision=1331840045

------------------------------------------------------------------------
[2012-03-15 19:33:41] ab@php.net

The following patch has been added/updated:

Patch Name: php53_021.diff
Revision:   1331840021
URL:        https://bugs.php.net/patch-display.php?bug=61404&patch=php53_021.diff&revision=1331840021

------------------------------------------------------------------------
[2012-03-15 17:34:37] ab@php.net

Description:
------------
This test is based on the openssl_csr_new and openssl_pkey_new functionality and 
fails because of it. See https://bugs.php.net/bug.php?id=61401 for
additional 
information on windows.

Test script:
---------------
php -r "$pk = openssl_pkey_new(); var_dump($pk);
var_dump(openssl_csr_new(array('countryName' => 'BR'),$pk));"



Expected result:
----------------
resource(4) of type (OpenSSL key)
resource(5) of type (OpenSSL X.509 CSR)

Actual result:
--------------
bool(false)
bool(false)


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



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


Thread (6 messages)

« previous php.bugs (#168518) next »