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

Method getPassword

flow/TLSConfig.actor.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70std::string LoadedTLSConfig::getPassword() const {
71 if (tlsPassword.size()) {
72 return tlsPassword;
73 }
74
75 std::string envPassword;
76 platform::getEnvironmentVar("FDB_TLS_PASSWORD", envPassword);
77 return envPassword;
78}
79
80void LoadedTLSConfig::print(FILE* fp) {
81 int num_certs = 0;

Callers 3

ConfigureSSLContextFunction · 0.80
initTLSMethod · 0.80
mainFunction · 0.80

Calls 2

getEnvironmentVarFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected