--- mariadb-10.2.7/mysys_ssl/openssl.c 2017-07-10 12:53:28.000000000 +0200 +++ mariadb-10.2.7/mysys_ssl/openssl.c_patched 2017-07-13 11:22:30.449704470 +0200 @@ -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)) {