You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-35581 On servers linked against WolfSSL SSL_Cipher and SSL_cipher_list are always the same
emulate OpenSSL behavior in WolfSSL:
* use wolfSSL_get_cipher_list(i) for SSL_get_cipher_list(ctx, i),
not wolfSSL_get_cipher_list_ex(ctx, i), which returns only
the cipher used in the current connection.
Copy file name to clipboardExpand all lines: mysql-test/main/ssl.result
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2188,11 +2188,20 @@ drop table t1;
2188
2188
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
2189
2189
have_ssl
2190
2190
1
2191
+
#
2192
+
# MDEV-7697 Client reports ERROR 2006 (MySQL server has gone away) or ERROR 2013 (Lost connection to server during query) while executing AES* functions under SSL
2193
+
#
2191
2194
select aes_decrypt('MySQL','adf');
2192
2195
aes_decrypt('MySQL','adf')
2193
2196
NULL
2194
2197
select 'still connected?';
2195
2198
still connected?
2196
2199
still connected?
2200
+
#
2201
+
# MDEV-35581 On servers linked against WolfSSL SSL_Cipher and SSL_cipher_list are always the same
2202
+
#
2203
+
select variable_value like '%:%' from information_schema.session_status where variable_name='ssl_cipher_list';
Copy file name to clipboardExpand all lines: mysql-test/main/ssl.test
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,17 @@ SHOW STATUS LIKE 'Ssl_server_not_after';
29
29
# Check ssl turned on
30
30
SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher';
31
31
32
-
#
33
-
# MDEV-7697 Client reports ERROR 2006 (MySQL server has gone away) or ERROR 2013 (Lost connection to server during query) while executing AES* functions under SSL
34
-
#
32
+
--echo #
33
+
--echo # MDEV-7697 Client reports ERROR 2006 (MySQL server has gone away) or ERROR 2013 (Lost connection to server during query) while executing AES* functions under SSL
34
+
--echo #
35
35
select aes_decrypt('MySQL','adf');
36
36
select 'still connected?';
37
37
38
+
--echo #
39
+
--echo # MDEV-35581 On servers linked against WolfSSL SSL_Cipher and SSL_cipher_list are always the same
40
+
--echo #
41
+
select variable_value like '%:%' from information_schema.session_status where variable_name='ssl_cipher_list';
0 commit comments