1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-18 21:44:20 +03:00

MDEV-35580 Server using WolfSSL shows different name than OpenSSL for some ciphers

wolfSSL_get_cipher_name() returns wolfssl cipher names
wolfSSL_get_cipher() returns IANA names

use the latter for OpenSSL compatibility
This commit is contained in:
Sergei Golubchik 2025-04-16 15:17:53 +02:00
parent 1a013cea95
commit dae1124944

View File

@ -64,6 +64,8 @@
#ifdef HAVE_WOLFSSL
#define EVP_MD_CTX_SIZE sizeof(wc_Md5)
#undef SSL_get_cipher
#define SSL_get_cipher wolfSSL_get_cipher
#endif
#ifndef HAVE_OPENSSL11