diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-16 21:01:16 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-17 08:35:03 +0200 |
commit | 9c577c2b9004a3afbff013a03794ffdfff088ed4 (patch) | |
tree | 70fc8bcaa782250736b3dfbac2c5ca693a27a940 /include/violite.h | |
parent | a0d598a4d220fc3845cdee9c8b46ca10b4c1093e (diff) | |
download | mariadb-git-9c577c2b9004a3afbff013a03794ffdfff088ed4.tar.gz |
MDEV-22917 wolfssl might crash at startup when both SSL and encryption plugin are enabled
Make sure to initialize SSL early enough, when encryption plugins is loaded
Diffstat (limited to 'include/violite.h')
-rw-r--r-- | include/violite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/violite.h b/include/violite.h index 34f59f2e598..9a0e995133d 100644 --- a/include/violite.h +++ b/include/violite.h @@ -171,6 +171,8 @@ struct st_VioSSLFd int sslaccept(struct st_VioSSLFd*, Vio *, long timeout, unsigned long *errptr); int sslconnect(struct st_VioSSLFd*, Vio *, long timeout, unsigned long *errptr); +void vio_check_ssl_init(); + struct st_VioSSLFd *new_VioSSLConnectorFd(const char *key_file, const char *cert_file, const char *ca_file, const char *ca_path, |