Fix build with LibreSSL 2.7

LibreSSL 2.7 implements the OpenSSL 1.1 API

Signed-off-by: Bernard Spil <brnrd@FreeBSD.org>
pull/1174/head
Bernard Spil 2018-04-01 22:14:43 +02:00
parent 431fcde29a
commit ffdc65a31d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#include <openssl/opensslv.h>
#if defined(LIBRESSL_VERSION_NUMBER)
#if (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER > 0x20700000fL)
#define LIBRESSL_IN_USE 1
#else // !defined(LIBRESSL_VERSION_NUMBER)
#define LIBRESSL_IN_USE 0