aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Rantzsch <[email protected]>2019-06-03 16:34:43 +0200
committerHannes Rantzsch <[email protected]>2019-06-03 16:45:09 +0200
commit6fdf34f50faa9b22fb969619ce1cdcf6942a692c (patch)
tree981c28a72bfcfae7d2041d5fe6647a522997e5c4
parent3fb51823009484f3afff784882b5df64e2b1c1cc (diff)
fix: include tls_verify_cert_chain and tls_verify_cert_chain_ocsp_timeout in docs
-rw-r--r--doc/api_ref/tls.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api_ref/tls.rst b/doc/api_ref/tls.rst
index 74f8bf79a..5a6c953b1 100644
--- a/doc/api_ref/tls.rst
+++ b/doc/api_ref/tls.rst
@@ -85,7 +85,7 @@ information about the connection.
exception which will send a close message to the counterparty and
reset the connection state.
- .. cpp::function:: void tls_verify_cert_chain(const std::vector<X509_Certificate>& cert_chain, \
+ .. cpp:function:: void tls_verify_cert_chain(const std::vector<X509_Certificate>& cert_chain, \
const std::vector<std::shared_ptr<const OCSP::Response>>& ocsp_responses, \
const std::vector<Certificate_Store*>& trusted_roots, \
Usage_Type usage, \
@@ -120,7 +120,7 @@ information about the connection.
being authenticated using this certificate chain. It can be consulted
for values such as allowable signature methods and key sizes.
- .. cpp::function:: std::chrono::milliseconds tls_verify_cert_chain_ocsp_timeout() const
+ .. cpp:function:: std::chrono::milliseconds tls_verify_cert_chain_ocsp_timeout() const
Called by default `tls_verify_cert_chain` to set timeout for online OCSP requests
on the certificate chain. Return 0 to disable OCSP. Current default is 0.