Wrappers to be able to use the above `verify()` and `configure_socket()` inside a `TLSClientConfig` struct.
| 1110 | // Wrappers to be able to use the above `verify()` and `configure_socket()` |
| 1111 | // inside a `TLSClientConfig` struct. |
| 1112 | Try<Nothing> client_verify( |
| 1113 | const SSL* const ssl, |
| 1114 | const Option<std::string>& hostname, |
| 1115 | const Option<net::IP>& ip) |
| 1116 | { |
| 1117 | return verify(ssl, Mode::CLIENT, hostname, ip); |
| 1118 | } |
| 1119 | |
| 1120 | |
| 1121 | Try<Nothing> client_configure_socket( |