Req #54473 [Opn]: PATCH: openssl extension should also load engines
| From: | cataphract@php.net | Date: | Mon, 11 Apr 2011 08:55:39 +0000 |
| Subject: | Req #54473 [Opn]: PATCH: openssl extension should also load engines | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-160087@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54473&edit=1
ID: 54473
Updated by: cataphract@php.net
Reported by: crrodriguez at opensuse dot org
Summary: PATCH: openssl extension should also load engines
Status: Open
Type: Feature/Change Request
Package: OpenSSL related
Operating System: all
PHP Version: 5.3SVN-2011-04-05 (SVN)
Block user comment: N
Private report: N
New Comment:
Reading the docs, it would appear ENGINE_cleanup() should be called on
shutdown.
Previous Comments:
------------------------------------------------------------------------
[2011-04-05 23:39:16] crrodriguez at opensuse dot org
Description:
------------
Currently openssl allows hardware engines to be used, which are usually
much
faster than the library itself, but PHP does not currently load them if
available
at Module init..
This is more important now that when openssl is used with new Intel
CPUs, it can
use AES_NI instruction sets.
The attached patch fixes the problem.
Test script:
---------------
--------------
Expected result:
----------------
engines loaded at MINIT
Actual result:
--------------
Not currently loaded.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54473&edit=1