Documentation

- Mentioned the hostname verification.
This commit is contained in:
Paul Beckingham 2014-04-05 10:37:53 -04:00
parent 7fb1487993
commit 325d0d1738
2 changed files with 4 additions and 3 deletions

View file

@ -311,7 +311,7 @@ int TLSClient::verify_certificate () const
cert_list = gnutls_certificate_get_peers (_session, &cert_list_size);
if (cert_list_size == 0)
return GNUTLS_E_CERTIFICATE_ERROR;
return GNUTLS_E_CERTIFICATE_ERROR;
ret = gnutls_x509_crt_init (&cert);
if (ret < 0)