]> the.earth.li Git - onak.git/blobdiff - sigcheck.c
Fix header size for v5 packet sig checks
[onak.git] / sigcheck.c
index 0fe87b55ac891b60b86cbee6a22cd880495fbed8..04f26760b1c3e3dd6fa0a50bd65364fbf1ff4fd1 100644 (file)
@@ -53,7 +53,7 @@ int check_packet_sighash(struct openpgp_publickey *key,
        struct sha384_ctx sha384_context;
        struct sha512_ctx sha512_context;
 #endif
-       uint8_t keyheader[3];
+       uint8_t keyheader[5];
        uint8_t packetheader[5];
        uint8_t trailer[10];
        uint8_t hash[64];