php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61404 ext\openssl\tests\021.phpt fails
Submitted: 2012-03-15 17:34 UTC Modified: 2012-03-28 14:31 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 17:34 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_021.diff (last revision 2012-03-15 19:34 UTC by ab@php.net)
php53_021.diff (last revision 2012-03-15 19:33 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-15 19:33 UTC] 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 19:34 UTC] 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:34 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-28 14:24 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2012-03-28 14:24 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c5b427124a2af3d951fed869cc86452e8b6290c
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2012-03-28 14:24 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b90516745821a5340bc52f1b1825e9b8614ff9f6
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2012-03-28 14:31 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-28 14:31 UTC] ab@php.net
-Status: Assigned +Status: Closed -Assigned To: mattficken +Assigned To: ab
 [2012-03-28 15:34 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2012-03-28 15:34 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c5b427124a2af3d951fed869cc86452e8b6290c
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [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=4c5b427124a2af3d951fed869cc86452e8b6290c
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [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=bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Log: Fix bug #61404 ext\openssl\tests\021.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.
 [2012-04-18 09:45 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b90516745821a5340bc52f1b1825e9b8614ff9f6
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2012-07-24 23:36 UTC] rasmus@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b90516745821a5340bc52f1b1825e9b8614ff9f6
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2013-11-17 09:32 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b90516745821a5340bc52f1b1825e9b8614ff9f6
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [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=4c5b427124a2af3d951fed869cc86452e8b6290c
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [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=bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=4c5b427124a2af3d951fed869cc86452e8b6290c
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=bd7bb973b1f4791f000a890b1c1387fcd28c65ee
Log: Fix bug #61404 ext\openssl\tests\021.phpt fails
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 17:01:28 2024 UTC