summaryrefslogtreecommitdiff
path: root/mysql-test/r/ssl.result
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-05-01 17:56:47 +0200
committerSergei Golubchik <serg@mariadb.org>2015-05-03 11:21:57 +0200
commitcc12a35cde453a4384a2e99282c3281308c427a9 (patch)
treeac82643ae301f1fec172424c9cf5fe0671d4ba33 /mysql-test/r/ssl.result
parentf875c9f2a090f98ba9d9e881165b4cf71cd6a8a2 (diff)
downloadmariadb-git-cc12a35cde453a4384a2e99282c3281308c427a9.tar.gz
MDEV-7697 Client reports ERROR 2006 (MySQL server has gone away) or ERROR 2013 (Lost connection to MySQL server during query) while executing AES* functions under SSL
Clear OpenSSL error queue after an error in AES_ENCRYPT/AES_DECRYPT. Otherwise it might affect current ssl-encrypted connection.
Diffstat (limited to 'mysql-test/r/ssl.result')
-rw-r--r--mysql-test/r/ssl.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/ssl.result b/mysql-test/r/ssl.result
index 6f0ba6a4e1e..525bae01b23 100644
--- a/mysql-test/r/ssl.result
+++ b/mysql-test/r/ssl.result
@@ -2166,3 +2166,9 @@ drop table t1;
SHOW STATUS LIKE 'Ssl_cipher';
Variable_name Value
Ssl_cipher DHE-RSA-AES256-SHA
+select aes_decrypt('MySQL','adf');
+aes_decrypt('MySQL','adf')
+NULL
+select 'still connected?';
+still connected?
+still connected?