13 #ifndef __PROCESS_SSL_TLS_CONFIG_HPP__ 14 #define __PROCESS_SSL_TLS_CONFIG_HPP__ 24 #include <openssl/ssl.h> 32 struct TLSClientConfig {
51 ConfigureSocketCallback,
93 #endif // USE_SSL_SOCKET 95 #endif // __PROCESS_SSL_TLS_CONFIG_HPP__
Try< Nothing > verify(const SSL *const ssl, Mode mode, const Option< std::string > &hostname=None(), const Option< net::IP > &ip=None())
Try< Nothing > configure_socket(SSL *ssl, Mode mode, const Address &peer, const Option< std::string > &peer_hostname)
Definition: executor.hpp:48
Try< Address > peer(int_fd s)
Returns the peer's Address for the accepted or connected socket.
Definition: network.hpp:98