From acdbac335e7a8e287afa68a1127501029a5a3bec Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sun, 16 Dec 2007 23:05:21 +0200 Subject: pgpReadPkts returns malloced memory, unconstify --- rpmio/rpmpgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmio/rpmpgp.c') diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 841d08c55..48fdb8d18 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -1142,7 +1142,7 @@ int pgpPrtPkts(const uint8_t * pkts, size_t pktlen, pgpDig dig, int printing) return 0; } -pgpArmor pgpReadPkts(const char * fn, const uint8_t ** pkt, size_t * pktlen) +pgpArmor pgpReadPkts(const char * fn, uint8_t ** pkt, size_t * pktlen) { uint8_t * b = NULL; ssize_t blen; -- cgit v1.2.3