aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.