diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-16 23:05:21 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-16 23:05:21 +0200 |
commit | acdbac335e7a8e287afa68a1127501029a5a3bec (patch) | |
tree | 52ae701009009c7b5ea11bfea4f9f2422f53ddb4 /rpmio/rpmpgp.c | |
parent | 7be0a763d282475763c11d7b05d1479d7f0a617e (diff) | |
download | librpm-tizen-acdbac335e7a8e287afa68a1127501029a5a3bec.tar.gz librpm-tizen-acdbac335e7a8e287afa68a1127501029a5a3bec.tar.bz2 librpm-tizen-acdbac335e7a8e287afa68a1127501029a5a3bec.zip |
pgpReadPkts returns malloced memory, unconstify
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r-- | rpmio/rpmpgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |