From e730066a64e60b3ba39b7143aa40b5ba1e9c3949 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 1 Jun 2023 21:07:23 +0200 Subject: [PATCH] decryptcore: Request the OpenSSL 1.1 API OPENSSL_API_COMPAT can be used to specify the OpenSSL API version in use for the purpose of hiding deprecated interfaces and enabling the appropriate deprecation notices. This change is a NFC while we're still using OpenSSL 1.1.1 but will avoid deprecation warnings upon the switch to OpenSSL 3.0. A future update may migrate to use the OpenSSL 3.0 APIs. PR: 271615 Reviewed by: emaste Sponsored by: The FreeBSD Foundation --- sbin/decryptcore/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/decryptcore/Makefile b/sbin/decryptcore/Makefile index 3a3a6a029f8..afaa0311ae5 100644 --- a/sbin/decryptcore/Makefile +++ b/sbin/decryptcore/Makefile @@ -2,6 +2,7 @@ PROG= decryptcore +CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L LIBADD= crypto pjdlog MAN= decryptcore.8