summaryrefslogtreecommitdiff
path: root/imap/src/c-client/hash.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-11-20 12:54:47 -0700
committerEduardo Chappa <chappa@washington.edu>2021-11-20 12:54:47 -0700
commit626eccdd8d0a325842d736596348e9d1d81ca105 (patch)
tree2eb4695b74cf88e15b030e30a751ada1017a0528 /imap/src/c-client/hash.h
parenta9e8d3c24b2bb6d30649d4d3c66f554ae38024bb (diff)
downloadalpine-626eccdd8d0a325842d736596348e9d1d81ca105.tar.xz
* Addition of support for SHA1 to SHA512 needed for future additions to
Alpine. The code is taken and adapted from code in RFC 4634.
Diffstat (limited to 'imap/src/c-client/hash.h')
-rw-r--r--imap/src/c-client/hash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/imap/src/c-client/hash.h b/imap/src/c-client/hash.h
new file mode 100644
index 00000000..4e796429
--- /dev/null
+++ b/imap/src/c-client/hash.h
@@ -0,0 +1,6 @@
+#ifndef HASH_H_INCLUDED
+#define HASH_H_INCLUDED
+
+char *hash_from_sizedtext(char *, char *, size_t);
+
+#endif /* HASH_H_INCLUDED */