1 From 0e31e37c0f6ad0b3f393f024d1f6d8ce448e4746 Mon Sep 17 00:00:00 2001
2 From: Rosen Penev <rosenp@gmail.com>
3 Date: Sat, 8 Dec 2018 18:39:50 -0800
4 Subject: [PATCH] Platform: Fix compilation without deprecated OpenSSL APIs
7 src/Platform.cc | 3 +++
8 1 file changed, 3 insertions(+)
10 diff --git a/src/Platform.cc b/src/Platform.cc
11 index ea73b6c6..d7882a97 100644
16 #include <openssl/err.h>
17 #include <openssl/ssl.h>
18 +#include "libssl_compat.h"
19 #endif // HAVE_OPENSSL
22 @@ -111,11 +112,13 @@ bool Platform::setUp()
27 // for SSL initialization
28 SSL_load_error_strings();
30 // Need this to "decrypt" p12 files.
31 OpenSSL_add_all_algorithms();
32 +#endif // !OPENSSL_101_API
33 #endif // HAVE_OPENSSL
35 if (!gcry_check_version("1.2.4")) {