summaryrefslogtreecommitdiffstats
path: root/kbx/keybox-blob.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-04-21 18:26:17 +0200
committerWerner Koch <wk@gnupg.org>2010-04-21 18:26:17 +0200
commita1412b05debe693e6aabaf2c2c337bc33f7dfd41 (patch)
tree214dc8928b73aaa385d69eaa180164318ff0bb93 /kbx/keybox-blob.c
parentDisable card support for now (diff)
downloadgnupg2-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.tar.xz
gnupg2-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.zip
More changes on the way to remove secring.gpg.
Diffstat (limited to 'kbx/keybox-blob.c')
-rw-r--r--kbx/keybox-blob.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/kbx/keybox-blob.c b/kbx/keybox-blob.c
index de2add65a..a14499311 100644
--- a/kbx/keybox-blob.c
+++ b/kbx/keybox-blob.c
@@ -127,6 +127,8 @@ X.509 specific are noted like [X.509: xxx]
#endif
+#include "../common/gettime.h"
+
/* special values of the signature status */
#define SF_NONE(a) ( !(a) )
@@ -307,20 +309,6 @@ add_fixup (KEYBOXBLOB blob, u32 off, u32 val)
}
}
-
-/*
- Some wrappers
-*/
-
-static u32
-make_timestamp (void)
-{
-#ifdef __GNUC__
-#warning using time and not gnupg_get_time
-#endif
- return time(NULL);
-}
-
#ifdef KEYBOX_WITH_OPENPGP