From 3950449bf3a1ae6bf7a7583802269e334ddb6e3d Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 10 Jan 2023 22:56:14 -0800 Subject: [PATCH] Suppress deprecation warnings for OpenSSL's SHA1_* functions --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index d785bf2e..c868bb72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -194,6 +194,10 @@ libwim_la_CFLAGS = \ $(LIBFUSE_CFLAGS) \ $(LIBCRYPTO_CFLAGS) +# This is to avoid deprecation warnings for OpenSSL's SHA1_* functions. +# Their replacement (EVP) is harder to use and less performant... +libwim_la_CFLAGS += -Wno-deprecated-declarations + libwim_la_LDFLAGS = $(AM_LDFLAGS) -version-info 36:0:21 libwim_la_LIBADD = \ -- 2.43.0