projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the size of the hash array when checking sig hashes
[onak.git]
/
sigcheck.c
diff --git
a/sigcheck.c
b/sigcheck.c
index e5e8ccde9640e6bce5ce248e0d3d16bf200d9557..852b53b3784a578d5d41c933b1b5b8cc2656f331 100644
(file)
--- a/
sigcheck.c
+++ b/
sigcheck.c
@@
-57,7
+57,7
@@
int check_packet_sighash(struct openpgp_publickey *key,
uint8_t keyheader[3];
uint8_t packetheader[5];
uint8_t v4trailer[6];
- uint8_t hash[
20
];
+ uint8_t hash[
64
];
uint8_t *hashdata[8];
size_t hashlen[8];
int chunks, i;