| 292 | } |
| 293 | |
| 294 | int |
| 295 | UpdateServerPolicyProperties(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 | |
| 306 | void |
| 307 | SSLConfigParams::SetServerPolicyProperties(const char *verify_server) |
nothing calls this directly
no test coverage detected