From: Eric Biggers Date: Wed, 11 Jan 2023 06:56:14 +0000 (-0800) Subject: Suppress deprecation warnings for OpenSSL's SHA1_* functions X-Git-Tag: v1.14.0~98 X-Git-Url: https://wimlib.net/git/?a=commitdiff_plain;h=3950449bf3a1ae6bf7a7583802269e334ddb6e3d;p=wimlib Suppress deprecation warnings for OpenSSL's SHA1_* functions --- 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 = \