diff options
author | Werner Koch <[email protected]> | 1998-09-11 05:47:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-09-11 05:47:32 +0000 |
commit | 48da5f940b537b09b1fd6a5023922bd792d5954c (patch) | |
tree | d0b99173fc76c70960ace7d372d4adeff969652b /g10/pkclist.c | |
parent | Chnages. (diff) | |
download | gnupg-48da5f940b537b09b1fd6a5023922bd792d5954c.tar.gz gnupg-48da5f940b537b09b1fd6a5023922bd792d5954c.zip |
*** empty log message ***
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index e85b289f5..b4d79f281 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -36,6 +36,10 @@ #include "status.h" #include "i18n.h" + +#define CONTROL_D ('D' - 'A' + 1) + + /**************** * Returns true if an ownertrust has changed. */ @@ -113,7 +117,7 @@ edit_ownertrust( ulong lid, int mode ) else if( *p == ans[0] || *p == ans[1] ) { tty_printf(_("You will see a list of signators etc. here\n")); } - else if( mode && (*p == ans[2] || *p == ans[3]) ) { + else if( mode && (*p == ans[2] || *p == ans[3] || *p == CONTROL_D ) ) { break ; /* back to the menu */ } m_free(p); p = NULL; @@ -596,9 +600,9 @@ select_algo_from_prefs( PK_LIST pk_list, int preftype ) } if( preftype == PREFTYPE_SYM && i == CIPHER_ALGO_3DES ) { - i = CIPHER_ALGO_BLOWFISH; + i = CIPHER_ALGO_CAST5; if( opt.verbose ) - log_info("replacing 3DES by Blowfish\n"); + log_info("replacing 3DES by CAST5\n"); } |