php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/ext/openssl/tests/ |
files >> //opt/php-7.0.1/ext/openssl/tests/bug65538_002.phpt |
--TEST-- Bug #65538: SSL context "cafile" disallows URL stream wrappers --SKIPIF-- <?php if (!extension_loaded('openssl')) die('skip, openssl required'); if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); --FILE-- <?php $clientCtx = stream_context_create(['ssl' => [ 'cafile' => 'http://curl.haxx.se/ca/cacert.pem' ]]); file_get_contents('https://github.com', false, $clientCtx); --EXPECTF-- Warning: remote cafile streams are disabled for security purposes in %s on line %d Warning: file_get_contents(): Failed to enable crypto in %s on line %d Warning: file_get_contents(%s): failed to open stream: operation failed in %s on line %dy~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`