mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
some random changes
This commit is contained in:
parent
e309a875cb
commit
5ccb92591e
32 changed files with 3463 additions and 787 deletions
|
@ -571,10 +571,12 @@ keyedit_menu( const char *username, STRLIST locusr )
|
|||
tty_printf("\n");
|
||||
redisplay = 0;
|
||||
}
|
||||
m_free(answer);
|
||||
answer = cpr_get(N_("keyedit.cmd"), _("Command> "));
|
||||
cpr_kill_prompt();
|
||||
trim_spaces(answer);
|
||||
do {
|
||||
m_free(answer);
|
||||
answer = cpr_get(N_("keyedit.cmd"), _("Command> "));
|
||||
cpr_kill_prompt();
|
||||
trim_spaces(answer);
|
||||
} while( *answer == '#' );
|
||||
|
||||
arg_number = 0;
|
||||
if( !*answer )
|
||||
|
@ -645,7 +647,7 @@ keyedit_menu( const char *username, STRLIST locusr )
|
|||
}
|
||||
else
|
||||
tty_printf(_("Key not changed so no update needed.\n"));
|
||||
rc = update_trust_record( keyblock );
|
||||
rc = update_trust_record( keyblock, NULL );
|
||||
if( rc )
|
||||
log_error(_("update of trust db failed: %s\n"),
|
||||
g10_errstr(rc) );
|
||||
|
@ -703,7 +705,7 @@ keyedit_menu( const char *username, STRLIST locusr )
|
|||
sec_modified = modified = 1;
|
||||
/* must update the trustdb already here, so that preferences
|
||||
* get listed correctly */
|
||||
rc = update_trust_record( keyblock );
|
||||
rc = update_trust_record( keyblock, NULL );
|
||||
if( rc ) {
|
||||
log_error(_("update of trust db failed: %s\n"),
|
||||
g10_errstr(rc) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue