updated for version 7.3.816
Problem: Can't compute a hash.
Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
diff --git a/src/sha256.c b/src/sha256.c
index 3392fc0..0cfe0eb 100644
--- a/src/sha256.c
+++ b/src/sha256.c
@@ -273,14 +273,13 @@
#endif /* FEAT_CRYPT || FEAT_PERSISTENT_UNDO */
#if defined(FEAT_CRYPT) || defined(PROTO)
-static char_u *sha256_bytes __ARGS((char_u *buf, int buf_len, char_u *salt, int salt_len));
static unsigned int get_some_time __ARGS((void));
/*
* Returns hex digest of "buf[buf_len]" in a static array.
* if "salt" is not NULL also do "salt[salt_len]".
*/
- static char_u *
+ char_u *
sha256_bytes(buf, buf_len, salt, salt_len)
char_u *buf;
int buf_len;