MCPcopy Create free account
hub / github.com/apache/trafficserver / UpdateServerPolicyProperties

Function UpdateServerPolicyProperties

src/iocore/net/SSLConfig.cc:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294int
295UpdateServerPolicyProperties(const char * /* name ATS_UNUSED */, RecDataT /* data_type ATS_UNUSED */, RecData data,
296 void * /* cookie ATS_UNUSED */)
297{
298 SSLConfigParams *params = SSLConfig::acquire();
299 char *verify_server = data.rec_string;
300 if (params != nullptr && verify_server != nullptr) {
301 params->SetServerPolicyProperties(verify_server);
302 }
303 return 0;
304}
305
306void
307SSLConfigParams::SetServerPolicyProperties(const char *verify_server)

Callers

nothing calls this directly

Calls 2

acquireFunction · 0.85

Tested by

no test coverage detected