summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/rpmpgp.h')
-rw-r--r--rpmio/rpmpgp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpmio/rpmpgp.h b/rpmio/rpmpgp.h
index e00b703e1..ef25388fb 100644
--- a/rpmio/rpmpgp.h
+++ b/rpmio/rpmpgp.h
@@ -1053,6 +1053,14 @@ pgpDig pgpFreeDig(pgpDig dig);
pgpDigParams pgpDigGetParams(pgpDig dig, unsigned int pkttype);
/** \ingroup rpmpgp
+ * Compare OpenPGP packet parameters
+ * param p1 1st parameter container
+ * param p2 2nd parameter container
+ * return 1 if the parameters differ, 0 otherwise
+ */
+int pgpDigParamsCmp(pgpDigParams p1, pgpDigParams p2);
+
+/** \ingroup rpmpgp
* Verify a PGP signature.
* @param key public key
* @param sig signature