Add a pair of util functions for getting and setting the BIO fd
authorChristopher Dykes <cdykes@fb.com>
Wed, 17 Aug 2016 21:42:29 +0000 (14:42 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Wed, 17 Aug 2016 21:53:26 +0000 (14:53 -0700)
commit7e7a7df7bff73f2051e30f782380d32e2728723c
tree2ec68c9f0c1cc812aabceae5ac184ac7bf48eadf
parent79d7f0f5402c528abb67d1dda579b6c421e68d5e
Add a pair of util functions for getting and setting the BIO fd

Summary: Because we need to translate them between sockets and file descriptors when we're on Windows.

Reviewed By: yfeldblum

Differential Revision: D3724802

fbshipit-source-id: 07fff6e1bec7b9b90e0d39fd98441466a746b7f7
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/ssl/OpenSSLUtils.cpp
folly/io/async/ssl/OpenSSLUtils.h