summaryrefslogtreecommitdiff
path: root/builtin/send-pack.c
diff options
context:
space:
mode:
authorBrian Gernhardt <brian@gernhardtsoftware.com>2014-09-25 15:02:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-09-25 18:12:57 (GMT)
commit6f5ef44e0d8933621fcd50127518557013002313 (patch)
treea9037d2292a03daf460a22ae1c58db435928821a /builtin/send-pack.c
parent5732373daacf9486a0db9741cf0de4e7a41b08b3 (diff)
downloadgit-6f5ef44e0d8933621fcd50127518557013002313.zip
git-6f5ef44e0d8933621fcd50127518557013002313.tar.gz
git-6f5ef44e0d8933621fcd50127518557013002313.tar.bz2
receive-pack::hmac_sha1(): copy the entire SHA-1 hash out
clang gives the following warning: builtin/receive-pack.c:327:35: error: sizeof on array function parameter will return size of 'unsigned char *' instead of 'unsigned char [20]' [-Werror,-Wsizeof-array-argument] git_SHA1_Update(&ctx, out, sizeof(out)); ^ builtin/receive-pack.c:292:37: note: declared here static void hmac_sha1(unsigned char out[20], ^ Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/send-pack.c')
0 files changed, 0 insertions, 0 deletions