]> wimlib.net Git - wimlib/commitdiff
Suppress deprecation warnings for OpenSSL's SHA1_* functions
authorEric Biggers <ebiggers3@gmail.com>
Wed, 11 Jan 2023 06:56:14 +0000 (22:56 -0800)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 11 Jan 2023 06:56:14 +0000 (22:56 -0800)
Makefile.am

index d785bf2eee40a1978a6ee972ae5094b61d4bfdbc..c868bb7207453c05b08f45d8c01899066303ef72 100644 (file)
@@ -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 =             \