From 67c35b9ed16e0eb7b2ed0dd61d0baa52464526f6 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 13 Mar 2018 15:02:55 +0100 Subject: openssl: Provide deprecated functions. Some applications (like the civetweb web server) still use functions that are deprecated by openssl. If OPENSSL_NO_DEPRECATED is defined, openssl will not provide these functions. This patch removes the define so that the functions are available. --- libbsd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbsd.py') diff --git a/libbsd.py b/libbsd.py index f70b4ead..233c06cd 100644 --- a/libbsd.py +++ b/libbsd.py @@ -3614,8 +3614,7 @@ def crypto_openssl(mm): 'crypto/openssl/crypto/cversion.c', 'crypto/openssl/crypto/o_str.c', ], - mm.generator['source'](['-DOPENSSL_NO_DEPRECATED=1', - '-DOPENSSL_NO_EC_NISTP_64_GCC_128=1', + mm.generator['source'](['-DOPENSSL_NO_EC_NISTP_64_GCC_128=1', '-DOPENSSL_NO_GMP=1', '-DOPENSSL_NO_JPAKE=1', '-DOPENSSL_NO_LIBUNBOUND=1', -- cgit v1.2.3