mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-21 19:48:05 +01:00
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 <gniibe@fsij.org>
This commit is contained in:
parent
874e391665
commit
d2e6b3ea1d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user