MySQL 8.4.2
Source Code Documentation
|
#include "mysql/harness/tls_error.h"
#include <array>
#include <system_error>
#include <openssl/err.h>
#include <openssl/ssl.h>
Functions | |
static const std::error_category & | tls_cert_category () noexcept |
std::error_code | make_error_code (TlsCertErrc e) |
make std::error_code from TlsCertErrc. More... | |
static const std::error_category & | tls_ssl_category () noexcept |
std::error_code | make_error_code (TlsErrc e) |
make std::error_code from TlsErrc. More... | |
const std::error_category & | tls_err_category () noexcept |
std::error_code | make_tls_error () |
make a std::error_code from ERR_get_error(). More... | |
std::error_code | make_tls_ssl_error (const SSL *ssl, int res) |
make a std::error_code from SSL_get_error(). More... | |
std::error_code make_error_code | ( | TlsCertErrc | e | ) |
make std::error_code from TlsCertErrc.
std::error_code make_error_code | ( | TlsErrc | e | ) |
make std::error_code from TlsErrc.
std::error_code make_tls_error | ( | ) |
make a std::error_code from ERR_get_error().
std::error_code make_tls_ssl_error | ( | const SSL * | ssl, |
int | res | ||
) |
make a std::error_code from SSL_get_error().
ssl | a SSL connection |
res | result of a SSL_ function. |
|
staticnoexcept |
|
noexcept |
|
staticnoexcept |