Add checking for signature hashes
[onak.git] / sigcheck.h
diff --git a/sigcheck.h b/sigcheck.h
new file mode 100644 (file)
index 0000000..394dd65
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef __SIGCHECK_H__
+#define __SIGCHECK_H__
+#include "keystructs.h"
+
+int check_packet_sighash(struct openpgp_publickey *key,
+                       struct openpgp_packet *packet,
+                       struct openpgp_packet *sig);
+
+#endif /* __SIGCHECK_H__ */