diff --git a/examples/example6.cpp b/examples/example6.cpp index 53ff978a..6b7cba24 100644 --- a/examples/example6.cpp +++ b/examples/example6.cpp @@ -153,7 +153,7 @@ public: { setX509TrustedCerts(m_trustedCerts); - defaultCertificateVerifier::verify(chain); + defaultCertificateVerifier::verify(chain, hostname); } catch (vmime::exceptions::certificate_verification_exception&) {