Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
configure.ac: check for HMAC_CTX_cleanup
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index b763a4e2693a5f08977132513196e78951868d5b..09ccebbd4958a18918d29170c9b86c91ed61cfc7 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-214,6
+214,9
@@
extern char *gitbasename(char *);
#ifndef NO_OPENSSL
#include <openssl/ssl.h>
#include <openssl/err.h>
+#ifdef NO_HMAC_CTX_CLEANUP
+#define HMAC_CTX_cleanup HMAC_cleanup
+#endif
#endif
/* On most systems <netdb.h> would have given us this, but