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

From: Date: Thu, 15 Mar 2012 18:41:43 +0000
Subject: Bug #61405 [NEW]: ext\openssl\tests\022.phpt fails
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-168513@lists.php.net to get a copy of this message
From:             ab
Operating system: windows
PHP version:      Irrelevant
Package:          OpenSSL related
Bug Type:         Bug
Bug description:ext\openssl\tests\022.phpt fails

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 bug report at https://bugs.php.net/bug.php?id=61405&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61405&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61405&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61405&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61405&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61405&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61405&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61405&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61405&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61405&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61405&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61405&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61405&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61405&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61405&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61405&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61405&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61405&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61405&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61405&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61405&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61405&r=mysqlcfg



Thread (6 messages)

« previous php.bugs (#168513) next »