1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

fixed a stupid C error

This commit is contained in:
Werner Koch 2001-09-07 07:57:51 +00:00
parent ed17c7afd0
commit 59334400a1
10 changed files with 82 additions and 88 deletions

View file

@ -945,6 +945,8 @@ ask_expire_interval(void)
/* print the date when the key expires */
tty_printf(_("Key expires at %s\n"),
asctimestamp((ulong)(curtime + interval) ) );
/* FIXME: This check yields warning on alhas:
write a configure check and to this check here only for 32 bit machines */
if( (time_t)((ulong)(curtime+interval)) < 0 )
tty_printf(_("Your system can't display dates beyond 2038.\n"
"However, it will be correctly handled up to 2106.\n"));