From 6a6b5103e220f2dc75f1964c0f290fd6094b1271 Mon Sep 17 00:00:00 2001 From: Kasper Laudrup Date: Sat, 3 Feb 2024 13:23:50 +0100 Subject: [PATCH] Fix documentation of error_code type The type of the error_code lives in the wintls namespace so update the function documentation to reflect that --- doc/functions.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/functions.rst b/doc/functions.rst index 8b977288..047c0af2 100644 --- a/doc/functions.rst +++ b/doc/functions.rst @@ -4,20 +4,20 @@ Functions x509_to_cert_context -------------------- .. doxygenfunction:: wintls::x509_to_cert_context(const net::const_buffer &x509, file_format format) -.. doxygenfunction:: wintls::x509_to_cert_context(const net::const_buffer &x509, file_format format, boost::system::error_code& ec) +.. doxygenfunction:: wintls::x509_to_cert_context(const net::const_buffer &x509, file_format format, wintls::error_code& ec) import_private_key ------------------ .. doxygenfunction:: wintls::import_private_key(const net::const_buffer& private_key, file_format format, const std::string& name) -.. doxygenfunction:: wintls::import_private_key(const net::const_buffer& private_key, file_format format, const std::string& name, boost::system::error_code& ec) +.. doxygenfunction:: wintls::import_private_key(const net::const_buffer& private_key, file_format format, const std::string& name, wintls::error_code& ec) delete_private_key ------------------ .. doxygenfunction:: delete_private_key(const std::string& name) -.. doxygenfunction:: delete_private_key(const std::string& name, boost::system::error_code& ec) +.. doxygenfunction:: delete_private_key(const std::string& name, wintls::error_code& ec) assign_private_key ------------------ .. doxygenfunction:: assign_private_key(const CERT_CONTEXT* cert, const std::string& name) -.. doxygenfunction:: assign_private_key(const CERT_CONTEXT* cert, const std::string& name, boost::system::error_code& ec) +.. doxygenfunction:: assign_private_key(const CERT_CONTEXT* cert, const std::string& name, wintls::error_code& ec) .. _CERT_CONTEXT: https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/ns-wincrypt-cert_context