diff options
author | David Shaw <[email protected]> | 2002-11-03 00:00:42 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-11-03 00:00:42 +0000 |
commit | 39e659312ee9afe170fc2fc8b9a62481d1c7af29 (patch) | |
tree | f8616502e8e11748acb2b85ba3a59cec2aa91834 /g10/keyedit.c | |
parent | * cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo): Allow (diff) | |
download | gnupg-39e659312ee9afe170fc2fc8b9a62481d1c7af29.tar.gz gnupg-39e659312ee9afe170fc2fc8b9a62481d1c7af29.zip |
* 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.
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index d0295766b..4ef8f4a84 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -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)? |