Bug #61405 [PATCH]: ext\openssl\tests\022.phpt fails

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

 ID:                 61405
 Patch added by:     ab@php.net
 Reported by:        ab@php.net
 Summary:            ext\openssl\tests\022.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 following patch has been added/updated:

Patch Name: php54_022.diff
Revision:   1331840602
URL:        https://bugs.php.net/patch-display.php?bug=61405&patch=php54_022.diff&revision=1331840602


Previous Comments:
------------------------------------------------------------------------
[2012-03-15 19:43:07] ab@php.net

The following patch has been added/updated:

Patch Name: php53_022.diff
Revision:   1331840587
URL:        https://bugs.php.net/patch-display.php?bug=61405&patch=php53_022.diff&revision=1331840587

------------------------------------------------------------------------
[2012-03-15 18:41:43] 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=61405&edit=1


Thread (6 messages)

« previous php.bugs (#168520) next »