|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2014-05-07 14:18 UTC] rdlowrey@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: rdlowrey
[2014-05-07 14:20 UTC] rdlowrey@php.net
-Status: Assigned
+Status: Closed
[2014-05-07 14:20 UTC] rdlowrey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
Description: ------------ Since 5.6.x the crypto type can be determined from the ssl->crypto_method stream context value, it should no longer be a required argument. An error should emitted only when neither value is supplied. Test script: --------------- $sock = stream_socket_client('tcp://google.com:443'); stream_context_set_option($sock, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT); stream_socket_enable_crypto($sock, true); Expected result: ---------------- Crypto enabling succeeds, with method determined from the stream's context options Actual result: -------------- Crypto enabling fails because 3rd argument is not supplied