diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-02-13 17:35:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-02-13 17:35:04 +0100 |
commit | af9aeb9250ea657b1f8c06ef4bab21d56c111297 (patch) | |
tree | 511de31ca0f6b7ee6d0d0a9ed107468e414778c7 /src/sha256.c | |
parent | c2149ea7cd782588563f235e2d1315eaa353ab7b (diff) | |
download | vim-git-af9aeb9250ea657b1f8c06ef4bab21d56c111297.tar.gz |
updated for version 7.3.816v7.3.816
Problem: Can't compute a hash.
Solution: Add the sha256() function. (Tyru, Hirohito Higashi)
Diffstat (limited to 'src/sha256.c')
-rw-r--r-- | src/sha256.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sha256.c b/src/sha256.c index 3392fc08e..0cfe0eb59 100644 --- a/src/sha256.c +++ b/src/sha256.c @@ -273,14 +273,13 @@ sha256_finish(ctx, digest) #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; |