From d2e6b3ea1d70db1039a828fb3a978a4504f8f0c5 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 5 Jun 2018 11:22:10 +0900 Subject: [PATCH] g10: Remove bogus comment. * g10/mainproc.c (proc_pubkey_enc): Remove a comment. -- GnuPG always uses the OpenPGP algo number in its status report. We can find a function in GPGME, it's _gpgme_map_pk_algo. Signed-off-by: NIIBE Yutaka --- g10/mainproc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/g10/mainproc.c b/g10/mainproc.c index cf22210a3..5689d73a8 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -475,11 +475,6 @@ proc_pubkey_enc (ctrl_t ctrl, CTX c, PACKET *pkt) if (is_status_enabled()) { char buf[50]; - /* FIXME: For ECC support we need to map the OpenPGP algo number - to the Libgcrypt defined one. This is due a chicken-egg - problem: We need to have code in Libgcrypt for a new - algorithm so to implement a proposed new algorithm before the - IANA will finally assign an OpenPGP identifier. */ snprintf (buf, sizeof buf, "%08lX%08lX %d 0", (ulong)enc->keyid[0], (ulong)enc->keyid[1], enc->pubkey_algo); write_status_text (STATUS_ENC_TO, buf);