Req #50718 [Com]: OpenSSL* doesnt support streamwrappers

From: Date: Mon, 13 Nov 2017 10:44:52 +0000
Subject: Req #50718 [Com]: OpenSSL* doesnt support streamwrappers
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212569@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=50718&edit=1 ID: 50718 Comment by: kelunik@php.net Reported by: gmblar+php at gmail dot com Summary: OpenSSL* doesnt support streamwrappers Status: Open Type: Feature/Change Request Package: OpenSSL related Operating System: * PHP Version: 5.3.1 Block user comment: N Private report: N New Comment: I've noticed this as well. This can be a pain point if using a custom CA file which is packaged in a PHAR. It needs to be dynamically copied out of the PHAR to be used. Previous Comments: ------------------------------------------------------------------------ [2010-01-10 18:44:59] gmblar+php at gmail dot com Description: ------------ OpenSSL* doesnt support streamwrappers Reproduce code: --------------- <?php class StringWrapper { public function __call($method, $args) { var_dump($method); die(); } } stream_wrapper_register('string', 'StringWrapper'); openssl_pkcs7_sign('string://input', 'string://output', 'file://foo.pem', array("file://bar.pem", ""), array()); ?> Expected result: ---------------- string(11) "stream_open" Actual result: -------------- Warning: openssl_pkcs7_sign(): error opening input file string://input! in cert.php on line 12 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=50718&edit=1

« previous php.bugs (#212569) next »