![]() |
MySQL 8.0.43
Source Code Documentation
|
#include <memory>#include <sstream>#include <string>#include "m_ctype.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_loglevel.h"#include "mysql/service_mysql_alloc.h"#include "mysys_err.h"#include "vio/vio_priv.h"#include <dh_ecdh_config.h>#include "my_openssl_fips.h"Classes | |
| struct | CRYPTO_dynlock_value |
Macros | |
| #define | TLS_VERSION_OPTION_SIZE 256 |
Typedefs | |
| typedef struct CRYPTO_dynlock_value | openssl_lock_t |
Functions | |
| static void | report_errors () |
| const char * | sslGetErrString (enum enum_ssl_init_error e) |
| static int | vio_set_cert_stuff (SSL_CTX *ctx, const char *cert_file, const char *key_file, enum enum_ssl_init_error *error) |
| static void | openssl_lock (int mode, openssl_lock_t *lock, const char *file, int line) |
| static void | openssl_lock_function (int mode, int n, const char *file, int line) |
| static openssl_lock_t * | openssl_dynlock_create (const char *file, int line) |
| static void | openssl_dynlock_destroy (openssl_lock_t *lock, const char *file, int line) |
| static unsigned long | openssl_id_function () |
| static void | init_ssl_locks () |
| static void | set_lock_callback_functions (bool init) |
| static void | init_lock_callback_functions () |
| static void | deinit_lock_callback_functions () |
| void | vio_ssl_end () |
| void | ssl_start () |
| long | process_tls_version (const char *tls_version) |
| static struct st_VioSSLFd * | new_VioSSLFd (const char *key_file, const char *cert_file, const char *ca_file, const char *ca_path, const char *cipher, const char *ciphersuites, bool is_client, enum enum_ssl_init_error *error, const char *crl_file, const char *crl_path, const long ssl_ctx_flags, const char *server_host) |
| struct st_VioSSLFd * | new_VioSSLConnectorFd (const char *key_file, const char *cert_file, const char *ca_file, const char *ca_path, const char *cipher, const char *ciphersuites, enum enum_ssl_init_error *error, const char *crl_file, const char *crl_path, const long ssl_ctx_flags, const char *server_host) |
| struct st_VioSSLFd * | new_VioSSLAcceptorFd (const char *key_file, const char *cert_file, const char *ca_file, const char *ca_path, const char *cipher, const char *ciphersuites, enum enum_ssl_init_error *error, const char *crl_file, const char *crl_path, const long ssl_ctx_flags) |
| void | free_vio_ssl_acceptor_fd (struct st_VioSSLFd *fd) |
Variables | |
| static const char | mandatory_p1 [] |
| static const char | optional_a1 [] |
| static const char | optional_a2 [] |
| static const char | optional_d1 [] |
| static const char | tls_cipher_blocked [] |
| static bool | ssl_initialized = false |
| static const char * | ssl_error_string [] |
| static PSI_rwlock_key | key_rwlock_openssl |
| static PSI_rwlock_info | openssl_rwlocks [] |
| static openssl_lock_t * | openssl_stdlocks |
| #define TLS_VERSION_OPTION_SIZE 256 |
| typedef struct CRYPTO_dynlock_value openssl_lock_t |
|
static |
| void free_vio_ssl_acceptor_fd | ( | struct st_VioSSLFd * | fd | ) |
|
static |
|
static |
| struct st_VioSSLFd * new_VioSSLAcceptorFd | ( | const char * | key_file, |
| const char * | cert_file, | ||
| const char * | ca_file, | ||
| const char * | ca_path, | ||
| const char * | cipher, | ||
| const char * | ciphersuites, | ||
| enum enum_ssl_init_error * | error, | ||
| const char * | crl_file, | ||
| const char * | crl_path, | ||
| const long | ssl_ctx_flags | ||
| ) |
| struct st_VioSSLFd * new_VioSSLConnectorFd | ( | const char * | key_file, |
| const char * | cert_file, | ||
| const char * | ca_file, | ||
| const char * | ca_path, | ||
| const char * | cipher, | ||
| const char * | ciphersuites, | ||
| enum enum_ssl_init_error * | error, | ||
| const char * | crl_file, | ||
| const char * | crl_path, | ||
| const long | ssl_ctx_flags, | ||
| const char * | server_host | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| long process_tls_version | ( | const char * | tls_version | ) |
|
static |
|
static |
| void ssl_start | ( | void | ) |
| const char * sslGetErrString | ( | enum enum_ssl_init_error | e | ) |
|
static |
| void vio_ssl_end | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |