26#ifndef MYSQL_HARNESS_TLS_ERROR_H_INCLUDED
27#define MYSQL_HARNESS_TLS_ERROR_H_INCLUDED
29#include <system_error>
31#include <openssl/ssl.h>
35static_assert(SSL_ERROR_WANT_READ != 0);
51struct is_error_code_enum<
TlsErrc> : std::true_type {};
constexpr value_type ssl
Definition: classic_protocol_constants.h:49
Definition: gcs_xcom_synode.h:64
HARNESS_TLS_EXPORT std::error_code make_tls_ssl_error(const SSL *ssl, int res)
make a std::error_code from SSL_get_error().
Definition: tls_error.cc:103
TlsCertErrc
Definition: tls_error.h:43
TlsErrc
Definition: tls_error.h:37
HARNESS_TLS_EXPORT std::error_code make_error_code(TlsCertErrc ec)
make std::error_code from TlsCertErrc.
Definition: tls_error.cc:55
HARNESS_TLS_EXPORT std::error_code make_tls_error()
make a std::error_code from ERR_get_error().
Definition: tls_error.cc:99
#define HARNESS_TLS_EXPORT
Definition: tls_export.h:15