aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-06-29 06:33:17 -0400
committerJack Lloyd <[email protected]>2019-06-29 06:33:17 -0400
commit190fc5dd40640065bc216d010efc72b606257a27 (patch)
tree392f547af0ae5c1554b25fc6e1ea9cd236ad4661
parente9e60c645f29009d16033bc317ebc345fdfd7997 (diff)
Fix syntax errors
-rw-r--r--doc/api_ref/credentials_manager.rst5
-rw-r--r--doc/api_ref/x509.rst2
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/api_ref/credentials_manager.rst b/doc/api_ref/credentials_manager.rst
index 6b6dd9b53..8f78970db 100644
--- a/doc/api_ref/credentials_manager.rst
+++ b/doc/api_ref/credentials_manager.rst
@@ -18,8 +18,9 @@ stores credentials. The main user is the :doc:`tls` implementation.
Certificate_Store pointers.
.. note::
- It would have been a better API to return ``shared_ptr``s here.
- This may change in a future major release.
+
+ It would have been a better API to return a vector of
+ ``shared_ptr`` here. This may change in a future major release.
When *type* is "tls-client", *context* will be the hostname of
the server, or empty if the hostname is not known. This allows
diff --git a/doc/api_ref/x509.rst b/doc/api_ref/x509.rst
index fac9ae838..95f43d9d7 100644
--- a/doc/api_ref/x509.rst
+++ b/doc/api_ref/x509.rst
@@ -116,7 +116,7 @@ The major certificate format in use today is X.509v3, used for instance in the
extension. Also will return true if the extended key usage extension is
not used in the current certificate.
- .. cpp:function: std::vector<OID> extended_key_usage() const
+ .. cpp:function:: std::vector<OID> extended_key_usage() const
Return the list of extended key usages. May be empty.