mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* main.h, keygen.c (ask_expiredate), keyedit.c (menu_expire): Remove
the need for ask_expiredate().
This commit is contained in:
parent
e2fdff56fc
commit
efef00aed3
4 changed files with 9 additions and 10 deletions
|
@ -3540,7 +3540,10 @@ menu_expire( KBNODE pub_keyblock, KBNODE sec_keyblock )
|
|||
no_primary_warning(pub_keyblock);
|
||||
}
|
||||
|
||||
expiredate = ask_expiredate();
|
||||
expiredate=ask_expire_interval(0,NULL);
|
||||
if(expiredate)
|
||||
expiredate+=make_timestamp();
|
||||
|
||||
node = find_kbnode( sec_keyblock, PKT_SECRET_KEY );
|
||||
sk = copy_secret_key( NULL, node->pkt->pkt.secret_key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue