summaryrefslogtreecommitdiff
path: root/mysys_ssl
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-05-29 06:06:36 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-05-29 06:06:36 +0200
commite35676f5557d68c7b51ba47aa73dcdf72eafa436 (patch)
treed7894ea9d5369c0ac99acc971c2262baede6ba33 /mysys_ssl
parent1df42a2ca0d9788829939ad7fbfe20601d008830 (diff)
downloadmariadb-git-e35676f5557d68c7b51ba47aa73dcdf72eafa436.tar.gz
Fix compilation on Linux
Diffstat (limited to 'mysys_ssl')
-rw-r--r--mysys_ssl/my_crypt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys_ssl/my_crypt.cc b/mysys_ssl/my_crypt.cc
index e41ace49474..a668c222b79 100644
--- a/mysys_ssl/my_crypt.cc
+++ b/mysys_ssl/my_crypt.cc
@@ -64,7 +64,7 @@ public:
// WolfSSL checks parameters and does not like NULL pointers to be passed to function below.
if (!src)
{
- static const uchar dummy[MY_AES_BLOCK_SIZE];
+ static uchar dummy[MY_AES_BLOCK_SIZE];
DBUG_ASSERT(!slen);
src=dummy;
}