Wrappers to be able to use the above `verify()` and `configure_socket()` inside a `TLSClientConfig` struct.
| 1072 | // Wrappers to be able to use the above `verify()` and `configure_socket()` |
| 1073 | // inside a `TLSClientConfig` struct. |
| 1074 | Try<Nothing> client_verify( |
| 1075 | const SSL* const ssl, |
| 1076 | const Option<std::string>& hostname, |
| 1077 | const Option<net::IP>& ip) |
| 1078 | { |
| 1079 | return verify(ssl, Mode::CLIENT, hostname, ip); |
| 1080 | } |
| 1081 | |
| 1082 | |
| 1083 | Try<Nothing> client_configure_socket( |