--- lib/crypto_backend/crypto_openssl.c.orig 2016-10-28 10:58:10.000000000 +0200 +++ lib/crypto_backend/crypto_openssl.c 2016-10-31 02:17:52.154628201 +0100 @@ -73,7 +73,7 @@ /* * Compatible wrappers for OpenSSL < 1.1.0 */ -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) static EVP_MD_CTX *EVP_MD_CTX_new(void) { EVP_MD_CTX *md = malloc(sizeof(*md));