| 269 | } |
| 270 | |
| 271 | TLSPolicy::TLSPolicy(const LoadedTLSConfig& loaded, std::function<void()> on_failure) |
| 272 | : rules(), on_failure(std::move(on_failure)), is_client(loaded.getEndpointType() == TLSEndpointType::CLIENT) { |
| 273 | set_verify_peers(loaded.getVerifyPeers()); |
| 274 | } |
| 275 | |
| 276 | // And now do the same thing, but async... |
| 277 |
nothing calls this directly
no test coverage detected