From d7960b463f8e000fd0d64b86274678975ca62658 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 30 Dec 2016 08:51:49 +0100
Subject: Fix LibreSSL compatibility
---
common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common.c b/common.c
index a822847..1d6c1f7 100644
--- a/common.c
+++ b/common.c
@@ -37,7 +37,7 @@
static void
init_openssl (void)
{
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
SSL_library_init ();
// XXX: this list is probably not complete
atexit (EVP_cleanup);
--
cgit v1.2.3-70-g09d2