]> the.earth.li Git - onak.git/blobdiff - sigcheck.h
Switch to passing the key packet in when checking a hash signature
[onak.git] / sigcheck.h
index 20dcb13951257b6344a870e7e26feeec2fb7bb2a..c0173af2b4a760153abd740f128ab3d117cb6909 100644 (file)
@@ -16,7 +16,7 @@ onak_status_t calculate_packet_sighash(struct openpgp_publickey *key,
  * @hash: Hash digest the signature is over
  * @hashtype: Type of hash (OPENPGP_HASH_*)
  */
-onak_status_t onak_check_hash_sig(struct openpgp_publickey *sigkey,
+onak_status_t onak_check_hash_sig(struct openpgp_packet *sigkey,
                struct openpgp_packet *sig,
                uint8_t *hash,
                uint8_t hashtype);