~singpolyma/biboumi

4a51850173e86f3682e9220704c9b17c09091222 — Florent Le Coz 8 years ago 0a4041f
Verify TLS certificate with the given hostname, instead of a hardcoded one
1 files changed, 1 insertions(+), 1 deletions(-)

M louloulibs/network/credentials_manager.cpp
M louloulibs/network/credentials_manager.cpp => louloulibs/network/credentials_manager.cpp +1 -1
@@ 11,7 11,7 @@ void Basic_Credentials_Manager::verify_certificate_chain(const std::string& type
                                                         const std::vector<Botan::X509_Certificate>& certs)
{
  log_debug("Checking remote certificate (" << type << ") for hostname " << purported_hostname);
  Botan::Credentials_Manager::verify_certificate_chain(type, "louiz.org", certs);
  Botan::Credentials_Manager::verify_certificate_chain(type, purported_hostname, certs);
  log_debug("Certificate is valid");
}
void Basic_Credentials_Manager::load_certs()