aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/x509.rst
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-07-03 12:52:10 -0400
committerJack Lloyd <[email protected]>2018-07-03 12:52:10 -0400
commitd245acfc18a79a99d1d7cd51ddd5c86fc1d92416 (patch)
tree49f5a53cf22d350b203819ad9bf990515f86be63 /doc/manual/x509.rst
parentf639dae0a472a04a37799791297d6b1ae89e0995 (diff)
Fix some document formatting bugs
Diffstat (limited to 'doc/manual/x509.rst')
-rw-r--r--doc/manual/x509.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/x509.rst b/doc/manual/x509.rst
index f998fc715..72e74b56a 100644
--- a/doc/manual/x509.rst
+++ b/doc/manual/x509.rst
@@ -457,7 +457,7 @@ set of functions in ``x509path.h`` named ``x509_path_validate``:
Usage_Type usage = Usage_Type::UNSPECIFIED, \
std::chrono::system_clock::time_point validation_time = std::chrono::system_clock::now(), \
std::chrono::milliseconds ocsp_timeout = std::chrono::milliseconds(0), \
- const std::vector<std::shared_ptr<const OCSP::Response>>& ocsp_resp = {})
+ const std::vector<std::shared_ptr<const OCSP::Response>>& ocsp_resp = std::vector<std::shared_ptr<const OCSP::Response>>())
The last five parameters are optional. ``hostname`` specifies a hostname which is
matched against the subject DN in ``end_cert`` according to RFC 6125.
@@ -826,7 +826,7 @@ for certificate status information.
.. cpp:function:: Certificate_Status_Code check_signature( \
const std::vector<Certificate_Store*>& trust_roots, \
- const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path = {}) const
+ const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path = const std::vector<std::shared<const X509_Certificate>>()) const
Find the issuing certificate of the OCSP response, and check the signature.