mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyedit.c (menu_set_keyserver_url): Make sure we only operate on the
chosen selfsig so we don't accidentally promote an older selfsig to chosen. Discovered by Simon Josefsson and 'Todd'. * keygen.c (ask_expire_interval): Fix typo.
This commit is contained in:
parent
8dcbbf98bb
commit
b883e9642b
3 changed files with 14 additions and 4 deletions
|
@ -1569,12 +1569,13 @@ ask_expire_interval(int object)
|
|||
continue;
|
||||
}
|
||||
|
||||
if( !valid_days ) {
|
||||
if( !valid_days )
|
||||
{
|
||||
tty_printf((object==0)
|
||||
? _("Key does not expire at all\n") :
|
||||
? _("Key does not expire at all\n")
|
||||
: _("Signature does not expire at all\n"));
|
||||
interval = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
interval = valid_days * 86400L;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue