aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2012-12-24 15:51:54 +0000
committerVincent Richard <[email protected]>2012-12-24 15:51:54 +0000
commit941159b3ac4944e935e34e87d5d5434ceb2ab383 (patch)
treedefce35b78796cf3ca5b49bb4c30b1c545f3b49e
parentMerge pull request #18 from mabrand/fix-no-tls (diff)
parentfix example6: missing arg to defaultCertificateVerifier::verify (diff)
downloadvmime-941159b3ac4944e935e34e87d5d5434ceb2ab383.tar.gz
vmime-941159b3ac4944e935e34e87d5d5434ceb2ab383.zip
Merge pull request #16 from mabrand/master-fix-example
Fixed example6: missing arg to defaultCertificateVerifier::verify().
-rw-r--r--examples/example6.cpp2
1 files changed, 1 insertions, 1 deletions
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&)
{