diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-07-12 22:39:58 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-07-13 09:14:17 +0200 |
commit | 7fc75c420a47fd29a399468b920641ebb43fa75c (patch) | |
tree | 2d6dc918c97f2c2542f1814cc7fe87d831495b78 /mysys_ssl | |
parent | 1d730ac42d58b5364690634260f915daea659259 (diff) | |
download | mariadb-git-7fc75c420a47fd29a399468b920641ebb43fa75c.tar.gz |
fix compilation with OpenSSL 1.1
Diffstat (limited to 'mysys_ssl')
-rw-r--r-- | mysys_ssl/openssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys_ssl/openssl.c b/mysys_ssl/openssl.c index 31d29fb06d9..34f4d629ba6 100644 --- a/mysys_ssl/openssl.c +++ b/mysys_ssl/openssl.c @@ -34,7 +34,8 @@ int check_openssl_compatibility() static uint testing, alloc_size, alloc_count; -static void *coc_malloc(size_t size, const char *, int) +static void *coc_malloc(size_t size, const char *f __attribute__((unused)), + int l __attribute__((unused))) { if (unlikely(testing)) { |