summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemi Marie Obenour <demi@invisiblethingslab.com>2021-03-29 12:38:44 -0400
committerPanu Matilainen <pmatilai@redhat.com>2021-06-15 11:36:03 +0300
commitf79781a2ab7d13b7322e1eea85a93ab1fbdad65b (patch)
tree4d9fd45acf00225876fc4690cd0b6193b372eda3
parentc5cacf9762920631add278f13c8b7bad765bfafd (diff)
downloadrpm-f79781a2ab7d13b7322e1eea85a93ab1fbdad65b.tar.gz
Minor const correctness fix
No change in behavior
-rw-r--r--rpmio/rpmpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 1f5547bda..3957a62bc 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -550,7 +550,7 @@ static int pgpPrtSig(pgpTag tag, const uint8_t *h, size_t hlen,
pgpDigParams _digp)
{
uint8_t version = 0;
- uint8_t * p;
+ const uint8_t * p;
unsigned int plen;
int rc = 1;