MCPcopy Create free account
hub / github.com/apple/foundationdb / TLSPolicy

Method TLSPolicy

flow/TLSConfig.actor.cpp:271–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271TLSPolicy::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

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
getEndpointTypeMethod · 0.80
getVerifyPeersMethod · 0.80

Tested by

no test coverage detected