summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-07-09 19:32:36 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-07-09 21:22:42 +0100
commit2fc52c912a79eefe8610984bac5eed3a2589ee85 (patch)
treeecb09aeb7c33bca7667cbd74df2625eec6498971 /doc
parent99dcd88035330d59ab40b5bc0f551aca7020cd30 (diff)
correct example
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/ssl/SSL_CTX_get0_param.pod2
1 files changed, 1 insertions, 1 deletions
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