Add functions needed by SSL async handshake implemented in https://github.com/envoyproxy/envoy-openssl/pull/60
Translate SSL modes and error codes as these differ between BoringSSL and OpenSSL. Also, SSL_get/get_mode is defined as a macro in OpenSSL while it is a regular function in BoringSSL.
Since part of the bridge library code needs to find OpenSSL headers and especially opensslconf.h, which is generated, @twghu 's pull request https://github.com/envoyproxy/envoy-openssl/pull/55 is included.
The include directories under bssl_compat/include need some clarification of their intended purpose. Not all OpenSSL header files can be used as is due to the macro vs. function differences above.
Add functions needed by SSL async handshake implemented in https://github.com/envoyproxy/envoy-openssl/pull/60 Translate SSL modes and error codes as these differ between BoringSSL and OpenSSL. Also, SSL_get/get_mode is defined as a macro in OpenSSL while it is a regular function in BoringSSL. Since part of the bridge library code needs to find OpenSSL headers and especially opensslconf.h, which is generated, @twghu 's pull request https://github.com/envoyproxy/envoy-openssl/pull/55 is included. The include directories under bssl_compat/include need some clarification of their intended purpose. Not all OpenSSL header files can be used as is due to the macro vs. function differences above.