mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the full
algorithm name (CAST5, SHA1) rather than the short form (S3, H2). * main.h, keygen.c (keygen_get_std_prefs), keyedit.c (keyedit_menu): Return and use a fake uid packet rather than a string since we already have a nice parser/printer in keyedit.c:show_prefs. * main.h, misc.c (string_to_compress_algo): New.
This commit is contained in:
parent
d6693c144c
commit
39e659312e
5 changed files with 129 additions and 84 deletions
|
@ -1347,9 +1347,10 @@ keyedit_menu( const char *username, STRLIST locusr, STRLIST commands,
|
|||
|
||||
case cmdUPDPREF:
|
||||
{
|
||||
p = keygen_get_std_prefs ();
|
||||
tty_printf (("Current preference list: %s\n"), p);
|
||||
m_free (p);
|
||||
PKT_user_id *temp=keygen_get_std_prefs();
|
||||
tty_printf(_("Current preference list:\n"));
|
||||
show_prefs(temp,1);
|
||||
m_free(temp);
|
||||
}
|
||||
if (cpr_get_answer_is_yes ("keyedit.updpref.okay",
|
||||
count_selected_uids (keyblock)?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue