Clean-up-options
Summary: Right now we have a single option verifyPeer_(SSLVerifyPeerEnum) that controls how verification is done regardless of how the ssl context is inevitably used (client or server). This is confusing for our users since it is 1. unclear of what the current values mean 2. It is unclear that setting an option such as VERIFY_REQ_CLIENT_CERT also sets your verification mode when running as a client.In order to make this api more clear for our users we separate out this enum to two separate enums for client and server. When this is passed to openSSL we still pass the same single mode int. Reviewed By: mingtaoy Differential Revision: D18308192 fbshipit-source-id: 5d49d3dc5117075a55681cf67b5f8e72b5e62c89
Showing
Please register or sign in to comment