aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index c3d082c56..8178db2ae 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -361,7 +361,13 @@ proc_pubkey_enc( CTX c, PACKET *pkt )
if( is_status_enabled() ) {
char buf[50];
- sprintf(buf, "%08lX%08lX %d 0",
+ /* FIXME: For ECC support we need to map the OpenPGP algo
+ number to the Libgcrypt definef 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
+ indentifier. */
+ 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 );
}