1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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.
This commit is contained in:
Werner Koch 2014-05-07 13:39:28 +02:00
parent 8fee6c1ce6
commit 09055aa0f7
2 changed files with 6 additions and 14 deletions

View file

@ -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"));
}