php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61405 ext\openssl\tests\022.phpt fails
Submitted: 2012-03-15 18:41 UTC Modified: 2012-03-27 16:36 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-03-15 18:41 UTC] 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)

Patches

php54_022.diff (last revision 2012-03-15 19:43 UTC by ab@php.net)
php53_022.diff (last revision 2012-03-15 19:43 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-15 19:43 UTC] 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 19:43 UTC] ab@php.net
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
 [2012-03-15 19:43 UTC] ab@php.net
The patches set the appropriate config option, which overrides the wrong global 
valie.
 [2012-03-16 11:11 UTC] ab@php.net
-Assigned To: +Assigned To: mattficken
 [2012-03-27 14:40 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 [2012-03-27 16:11 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 [2012-03-27 16:26 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 [2012-03-27 16:36 UTC] ab@php.net
-Status: Assigned +Status: Closed -Assigned To: mattficken +Assigned To: ab
 [2012-03-27 16:36 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-03-29 04:23 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 [2012-04-02 22:56 UTC] mattficken@php.net
This patch passes on PHP5.3.11rc1 on Windows 7 sp1x64.

It does not break for me on Linux x64 (Gentoo and Fedora 16) with PHP5.3.11rc1.
 [2014-10-07 23:28 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 [2014-10-07 23:39 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=b638d3020c79e15c7187f25175a956fb9e3fe213
Log: Fix bug #61405 ext\openssl\tests\022.phpt fails
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 02:01:25 2021 UTC