diff options
author | Werner Koch <[email protected]> | 2010-01-08 19:18:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-01-08 19:18:49 +0000 |
commit | be45bf3d544873ff4bc86496c6ab6c5f16c6a26e (patch) | |
tree | 31c443f6d989917ea476143abc4fd5d2ae749faa /g10/mainproc.c | |
parent | Fix bug 1146 (diff) | |
download | gnupg-be45bf3d544873ff4bc86496c6ab6c5f16c6a26e.tar.gz gnupg-be45bf3d544873ff4bc86496c6ab6c5f16c6a26e.zip |
Add dummu option --passwd for gpg.
Collected changes.
Diffstat (limited to '')
-rw-r--r-- | g10/mainproc.c | 8 |
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 ); } |