SSL sockets: Allow specifying cafile or capath without requiring the other
commit65e4a75724f80f5e544c0bc4210d033535866c20
authorFred Emmott <fredemmott@fb.com>
Thu, 2 Jul 2015 16:26:01 +0000 (2 09:26 -0700)
committerJoelMarcey <joelm@fb.com>
Wed, 29 Jul 2015 05:56:51 +0000 (28 22:56 -0700)
treeb66b46cba43c32888ec9a572bfe474d8615ef78b
parent5f1a3212914a095dbb9093bdbb3f09652006deab
SSL sockets: Allow specifying cafile or capath without requiring the other

Summary: we were passing an empty string instead of null, which is invalid.

Only affects raw sockets - we do the right thing already for cURL and internal
HttpClient.

Reviewed By: @jdelong

Differential Revision: D2213221
hphp/runtime/base/ssl-socket.cpp