mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
See ChangeLog: Thu Oct 28 16:08:20 CEST 1999 Werner Koch
This commit is contained in:
parent
540ddbed50
commit
db748ac6a9
17 changed files with 906 additions and 922 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 28 16:08:20 CEST 1999 Werner Koch <wk@gnupg.de>
|
||||
|
||||
* keygen.c (ask_expire_interval): Print a warning for systems
|
||||
with a signed 32 time_t if the exiration time is beyoind 2038.
|
||||
|
||||
Fri Oct 8 20:40:50 CEST 1999 Werner Koch <wk@gnupg.de>
|
||||
|
||||
* ringedit.c (enum_keyblocks): The last fix way really stupid;
|
||||
|
|
|
@ -540,7 +540,7 @@ ask_expire_interval(void)
|
|||
}
|
||||
else if( (mult=check_valid_days(answer)) ) {
|
||||
valid_days = atoi(answer) * mult;
|
||||
if( valid_days < 0 || valid_days > 32767 )
|
||||
if( valid_days < 0 || valid_days > 39447 )
|
||||
valid_days = 0;
|
||||
}
|
||||
else {
|
||||
|
@ -556,7 +556,10 @@ ask_expire_interval(void)
|
|||
interval = valid_days * 86400L;
|
||||
/* print the date when the key expires */
|
||||
tty_printf(_("Key expires at %s\n"),
|
||||
asctimestamp(curtime + interval ) );
|
||||
asctimestamp((ulong)(curtime + interval) ) );
|
||||
if( (time_t)((ulong)(curtime+interval)) < 0 )
|
||||
tty_printf(_("Your system can't display dates beyond 2036.\n"
|
||||
"However, it will be correctly handled up to 2106.\n"));
|
||||
}
|
||||
|
||||
if( cpr_enabled() || cpr_get_answer_is_yes("keygen.valid.okay",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue