The branch "master" has been updated. The following is a summary of the commits.
from: ad79c7beff05b7736e33361522bbfdeebb08d72e 00cb85a Fix SSL socket options overrides Summary: https://github.com/horde/Socket_Client/compare/ad79c7beff05...00cb85aae25b ----------------------------------------------------------------------- commit 00cb85aae25bdc0a73cce374c8370e700a2922fb Author: Christoph Wurst <[email protected]> Date: Thu, 12 Mar 2020 21:42:37 +0100 Fix SSL socket options overrides Php's `array_merge_recursive` can't be used for custom SSL options as it combines duplicate key values into an array. Hence a passed context of ```php [ 'ssl' => [ 'verify_peer' => true, 'verify_peer_name' => true, ] ``` resulted in ```php [ 'ssl' => [ 'verify_peer' => [true, false], 'verify_peer_name' => [true, false], ] ``` `array_replace_recursive` does the expected replacement. Proof: https://3v4l.org/bNfs2 This is neccessary to do peer verification with the Horde libs, as discussed at https://bugs.horde.org/ticket/13730 Signed-off-by: Christoph Wurst <[email protected]> M lib/Horde/Socket/Client.php https://github.com/horde/Socket_Client/commit/00cb85aae25bdc0a73cce374c8370e700a2922fb -- commits mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
