diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-04-07 13:26:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-04-07 13:26:46 +0300 |
commit | 8909c054344834eb45f2b09c0abfcfa1be214ec4 (patch) | |
tree | c3e3bb7c994e71e1318a60cfd134be664753c1c9 /tools | |
parent | a3a1a45c5131fd1dd885cd73bb9f6a7ac1ddbfba (diff) | |
download | rpm-8909c054344834eb45f2b09c0abfcfa1be214ec4.tar.gz rpm-8909c054344834eb45f2b09c0abfcfa1be214ec4.tar.bz2 rpm-8909c054344834eb45f2b09c0abfcfa1be214ec4.zip |
Minimally convert all pgpHexCvt() users to use pgpHexStr() instead
Diffstat (limited to 'tools')
-rw-r--r-- | tools/debugedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/debugedit.c b/tools/debugedit.c index 6699c76f4..c298cd295 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -1413,9 +1413,9 @@ handle_build_id (DSO *dso, Elf_Data *build_id, /* Now format the build ID bits in hex to print out. */ { const uint8_t * id = (uint8_t *)build_id->d_buf + build_id_offset; - char hex[build_id_size * 2 + 1]; - pgpHexCvt(hex, id, build_id_size); + char *hex = pgpHexStr(id, build_id_size); puts (hex); + free(hex); } } |