configure: remove checking for HMAC_CTX_cleanup

We don't need it, as we no longer use HMAC_CTX_cleanup() directly. Signed-off-by: Kazuki Yamaguchi <k@rhe.jp> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Kazuki Yamaguchi committed Apr 9, 2016 at 01:22 UTC 1245c74936d5803415306ade3c5050614a26af4e
3 files changed -13
Makefile
-6
@@ -354,9 +354,6 @@ all::
354 #
355 # Define HAVE_CLOCK_MONOTONIC if your platform has CLOCK_MONOTONIC in librt.
356 #
357 -# Define NO_HMAC_CTX_CLEANUP if your OpenSSL is version 0.9.6b or earlier to
358 -# cleanup the HMAC context with the older HMAC_cleanup function.
359 -#
357 # Define USE_PARENS_AROUND_GETTEXT_N to "yes" if your compiler happily
358 # compiles the following initialization:
359 #
@@ -1120,9 +1117,6 @@ ifndef NO_OPENSSL
1117 ifdef NEEDS_CRYPTO_WITH_SSL
1118 OPENSSL_LIBSSL += -lcrypto
1119 endif
1123 - ifdef NO_HMAC_CTX_CLEANUP
1124 - BASIC_CFLAGS += -DNO_HMAC_CTX_CLEANUP
1125 - endif
1120 else
1121 BASIC_CFLAGS += -DNO_OPENSSL
1122 BLK_SHA1 = 1
configure.ac
-4
@@ -970,10 +970,6 @@ AC_CHECK_LIB([iconv], [locale_charset],
970 [CHARSET_LIB=-lcharset])])
971 GIT_CONF_SUBST([CHARSET_LIB])
972 #
973 -# Define NO_HMAC_CTX_CLEANUP=YesPlease if HMAC_CTX_cleanup is missing.
974 -AC_CHECK_LIB([crypto], [HMAC_CTX_cleanup],
975 - [], [GIT_CONF_SUBST([NO_HMAC_CTX_CLEANUP], [YesPlease])])
976 -#
973 # Define HAVE_CLOCK_GETTIME=YesPlease if clock_gettime is available.
974 GIT_CHECK_FUNC(clock_gettime,
975 [HAVE_CLOCK_GETTIME=YesPlease],
git-compat-util.h
-3
@@ -277,9 +277,6 @@ extern char *gitbasename(char *);
277 #endif
278 #include <openssl/ssl.h>
279 #include <openssl/err.h>
280 -#ifdef NO_HMAC_CTX_CLEANUP
281 -#define HMAC_CTX_cleanup HMAC_cleanup
282 -#endif
280 #endif
281
282 /* On most systems <netdb.h> would have given us this, but