Skip to content

Commit

Permalink
Fix documentation of error_code type
Browse files Browse the repository at this point in the history
The type of the error_code lives in the wintls namespace so update the
function documentation to reflect that
  • Loading branch information
laudrup committed Feb 18, 2024
1 parent 838b58b commit 6a6b510
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6a6b510

Please sign in to comment.