From 626eccdd8d0a325842d736596348e9d1d81ca105 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 20 Nov 2021 12:54:47 -0700 Subject: * Addition of support for SHA1 to SHA512 needed for future additions to Alpine. The code is taken and adapted from code in RFC 4634. --- imap/src/c-client/hash.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 imap/src/c-client/hash.h (limited to 'imap/src/c-client/hash.h') 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 */ -- cgit v1.2.3-70-g09d2