summaryrefslogtreecommitdiffstats
path: root/gl/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/sha1.h')
-rw-r--r--gl/sha1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gl/sha1.h b/gl/sha1.h
index e12a23c..bc3470a 100644
--- a/gl/sha1.h
+++ b/gl/sha1.h
@@ -1,6 +1,6 @@
1/* Declarations of functions and data types used for SHA1 sum 1/* Declarations of functions and data types used for SHA1 sum
2 library functions. 2 library functions.
3 Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2021 Free Software 3 Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2022 Free Software
4 Foundation, Inc. 4 Foundation, Inc.
5 5
6 This file is free software: you can redistribute it and/or modify 6 This file is free software: you can redistribute it and/or modify
@@ -23,6 +23,9 @@
23# include <stdint.h> 23# include <stdint.h>
24 24
25# if HAVE_OPENSSL_SHA1 25# if HAVE_OPENSSL_SHA1
26# ifndef OPENSSL_API_COMPAT
27# define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */
28# endif
26# include <openssl/sha.h> 29# include <openssl/sha.h>
27# endif 30# endif
28 31