summaryrefslogtreecommitdiffstats
path: root/src/basic/khash.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-26 13:46:58 +0100
committerLennart Poettering <lennart@poettering.net>2018-02-26 15:52:16 +0100
commit09b9348e82379d506f279a6a6b2c1032188f140a (patch)
tree1bd37220b6aab3b60a257cf7789ff094b0c39b40 /src/basic/khash.h
parentMerge pull request #8270 from dmedri/master (diff)
downloadsystemd-09b9348e82379d506f279a6a6b2c1032188f140a.tar.xz
systemd-09b9348e82379d506f279a6a6b2c1032188f140a.zip
khash: try to detect broken AF_ALG support in centos kernels
Fixes: #8278
Diffstat (limited to 'src/basic/khash.h')
-rw-r--r--src/basic/khash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/khash.h b/src/basic/khash.h
index 7041d39993..e9c41a3f20 100644
--- a/src/basic/khash.h
+++ b/src/basic/khash.h
@@ -28,6 +28,8 @@
typedef struct khash khash;
+int khash_supported(void);
+
/* For plain hash functions. Hash functions commonly supported on today's kernels are: crc32c, crct10dif, crc32,
* sha224, sha256, sha512, sha384, sha1, md5, md4, sha3-224, sha3-256, sha3-384, sha3-512, and more. */
int khash_new(khash **ret, const char *algorithm);