summaryrefslogtreecommitdiff
path: root/lib/sha1.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-05-05 15:36:33 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-05-05 15:37:40 -0700
commit9007e10a0fc94190404c6a988f7d52d162901940 (patch)
treebec4b170622a185f9feacde07e864f32c7ca71b2 /lib/sha1.h
parent7e9d364b663613fd907f92de31e996463ef7d03c (diff)
downloademacs-9007e10a0fc94190404c6a988f7d52d162901940.tar.gz
Gnulib update via admin/merge-gnulib
Diffstat (limited to 'lib/sha1.h')
-rw-r--r--lib/sha1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sha1.h b/lib/sha1.h
index 098678d8da6..bc3470a508d 100644
--- a/lib/sha1.h
+++ b/lib/sha1.h
@@ -23,6 +23,9 @@
# include <stdint.h>
# if HAVE_OPENSSL_SHA1
+# ifndef OPENSSL_API_COMPAT
+# define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */
+# endif
# include <openssl/sha.h>
# endif