| 971 | } |
| 972 | |
| 973 | void |
| 974 | SSLConfigParams::clearCTX(const std::string &client_cert) const |
| 975 | { |
| 976 | ink_mutex_acquire(&ctxMapLock); |
| 977 | for (auto ctx_map_iter = top_level_ctx_map.begin(); ctx_map_iter != top_level_ctx_map.end(); ++ctx_map_iter) { |
| 978 | auto ctx_iter = ctx_map_iter->second.find(client_cert); |
| 979 | if (ctx_iter != ctx_map_iter->second.end()) { |
| 980 | ctx_iter->second = nullptr; |
| 981 | Dbg(dbg_ctl_ssl_load, "Clear client cert %s %s", ctx_map_iter->first.c_str(), ctx_iter->first.c_str()); |
| 982 | } |
| 983 | } |
| 984 | ink_mutex_release(&ctxMapLock); |
| 985 | } |
| 986 | |
| 987 | shared_SSL_CTX |
| 988 | SSLConfigParams::getCTX(const char *client_cert, const char *key_file, const char *ca_bundle_file, const char *ca_bundle_path) const |
no test coverage detected