MCPcopy Create free account
hub / github.com/3rdparty/libprocess / foreachpair

Function foreachpair

src/openssl.cpp:430–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 map<string, Option<string>> environments =
429 ssl_flags->extract("LIBPROCESS_SSL_");
430 foreachpair (
431 const string& key, const Option<string>& value, environment_ssl) {
432 if (environments.count(key) > 0 && environments.at(key) != value) {
433 LOG(WARNING) << "Mismatched values for SSL environment variables "
434 << "SSL_" << key << " and "
435 << "LIBPROCESS_SSL_" << key;
436 }
437 }
438 environments.insert(environment_ssl.begin(), environment_ssl.end());
439
440 Try<flags::Warnings> load = ssl_flags->load(environments);

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected