gpgscm: New operator "*long-time-t?" to detect proper time_t systems.
* tests/gpgscm/opdefines.h (OP_LONG_TIME_T): New.
* tests/gpgscm/scheme.c (Eval_Cycle): Implement it.
* tests/openpgp/quick-key-manipulation.scm (last-pgp-date): new.
(last-pgp-date-5min): New.
(last-pgp-seconds): New.
(last-pgp-seconds-5min): New.
("Checking that we can add subkeys..."): Use the new functions instead
of the year 20238 constants.This is actually a system constant but it is easier to provide it as a
new function to get this value. This makes the tests run properly on
64 bit system when building after 2038.
- GnuPG-bug-id: T8096, T2988
- Fixes-commit: de3838372ae3cdecbd83eea2c53c8e2656d93052