| 41 | } |
| 42 | |
| 43 | void inline set_trusted_ca_db(pn_ssl_domain_t *dom, const std::string &trust_db) { |
| 44 | if (pn_ssl_domain_set_trusted_ca_db(dom, trust_db.c_str())) |
| 45 | throw proton::error(MSG("SSL trust store initialization failure for " << trust_db)); |
| 46 | } |
| 47 | |
| 48 | void inline set_client_verify_mode(pn_ssl_domain_t *dom, enum proton::ssl::verify_mode mode) { |
| 49 | if (pn_ssl_domain_set_peer_authentication(dom, pn_ssl_verify_mode_t(mode), NULL)) |
no test coverage detected