diff options
author | Werner Koch <wk@gnupg.org> | 2020-02-09 23:22:20 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-02-09 23:22:20 +0100 |
commit | d1c518cdc9330c2dd4034efc544de0dd6ec73ea1 (patch) | |
tree | 4d9f8f61e745b81a6112f6c031574ccfcdf3876e /common/openpgp-oid.c | |
parent | common: New function get_keyalgo_string. (diff) | |
download | gnupg2-d1c518cdc9330c2dd4034efc544de0dd6ec73ea1.tar.xz gnupg2-d1c518cdc9330c2dd4034efc544de0dd6ec73ea1.zip |
common: Remove duplicated call to a function.
* common/openpgp-oid.c (openpgp_oid_to_str): Remove duplicated call.
--
The removed function was already called. No memleak etc, though.
Fixes-commit: 4a1558d0c7190cf13d35385e47291a7aa121be3e
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/openpgp-oid.c')
-rw-r--r-- | common/openpgp-oid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c index b539f8588..412a03b4d 100644 --- a/common/openpgp-oid.c +++ b/common/openpgp-oid.c @@ -297,7 +297,6 @@ openpgp_oid_to_str (gcry_mpi_t a) return NULL; } - buf = gcry_mpi_get_opaque (a, &lengthi); return openpgp_oidbuf_to_str (buf, (lengthi+7)/8); } |