From: Dr. Stephen Henson Date: Thu, 9 Jul 2015 18:32:36 +0000 (+0100) Subject: correct example X-Git-Tag: OpenSSL_1_0_2e~167 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ded7eee8c238fd814173517fdffb6a58c0758d81;p=oweals%2Fopenssl.git correct example Reviewed-by: Rich Salz (cherry picked from commit 2fc52c912a79eefe8610984bac5eed3a2589ee85) --- diff --git a/doc/ssl/SSL_CTX_get0_param.pod b/doc/ssl/SSL_CTX_get0_param.pod index 332f181187..ba16b50f08 100644 --- a/doc/ssl/SSL_CTX_get0_param.pod +++ b/doc/ssl/SSL_CTX_get0_param.pod @@ -34,7 +34,7 @@ them to suit its needs: for example to add a hostname check. Check hostname matches "www.foo.com" in peer certificate: X509_VERIFY_PARAM *vpm = SSL_get0_param(ssl); - X509_VERIFY_PARAM_set1_host(vpm, "www.foo.com"); + X509_VERIFY_PARAM_set1_host(vpm, "www.foo.com", 0); =head1 RETURN VALUES