summaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-05-07 13:39:28 +0200
committerWerner Koch <wk@gnupg.org>2014-05-07 13:50:00 +0200
commit09055aa0f7993aaf4dcffdd80d8192945ae6080a (patch)
treea554d95d3df619b035d9f284b754c377e40928bf /g10/misc.c
parentgpg: Finish experimental support for Ed25519. (diff)
downloadgnupg2-09055aa0f7993aaf4dcffdd80d8192945ae6080a.tar.xz
gnupg2-09055aa0f7993aaf4dcffdd80d8192945ae6080a.zip
gpg: Mark experimental algorithms in the key listing.
* g10/keylist.c (list_keyblock_print): Remove duplicate curve name. Print a note for experimental algorithms. * g10/misc.c (print_pubkey_algo_note): Fix warning message.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 77928aa6c..54ddad2d2 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -299,10 +299,10 @@ print_pubkey_algo_note (pubkey_algo_t algo)
{
warn=1;
log_info (_("WARNING: using experimental public key algorithm %s\n"),
- openpgp_cipher_algo_name (algo));
+ openpgp_pk_algo_name (algo));
}
}
- else if (algo == 20)
+ else if (algo == PUBKEY_ALGO_ELGAMAL)
{
log_info (_("WARNING: Elgamal sign+encrypt keys are deprecated\n"));
}