aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyid.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-20 11:33:50 +0000
committerWerner Koch <[email protected]>2010-10-20 11:33:50 +0000
commitcc99c375491c88e85190c25648419a8e627b08f6 (patch)
tree5cb3eda1226608f68e398a6a7f007f8381127dde /g10/keyid.c
parentInstall the mo files on W32 platforms (diff)
downloadgnupg-cc99c375491c88e85190c25648419a8e627b08f6.tar.gz
gnupg-cc99c375491c88e85190c25648419a8e627b08f6.zip
Make public key data structure easier to read.
Check vor v1 card while signing.
Diffstat (limited to '')
-rw-r--r--g10/keyid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/keyid.c b/g10/keyid.c
index a11769d67..128428720 100644
--- a/g10/keyid.c
+++ b/g10/keyid.c
@@ -446,6 +446,10 @@ mk_datestr (char *buffer, time_t atime)
{
struct tm *tp;
+ /* Note: VMS uses an unsigned time_t thus the compiler yields a
+ warning here. You may ignore this warning or def out this test
+ for VMS. The proper way to handle this would be a configure test
+ to a detect properly implemented unsigned time_t. */
if ( atime < 0 ) /* 32 bit time_t and after 2038-01-19 */
strcpy (buffer, "????" "-??" "-??"); /* mark this as invalid */
else