Edit report at http://bugs.php.net/bug.php?id=54473&edit=1

 ID:                 54473
 Updated by:         cataphr...@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

Reply via email to