$OpenBSD: patch-pkcs11_secret-store_gkm-secret-binary_c,v 1.5 2012/10/18 12:55:05 ajacoutot Exp $

XXX remove when we have a 64-bit time_t

--- pkcs11/secret-store/gkm-secret-binary.c.orig	Thu Oct 18 11:29:29 2012
+++ pkcs11/secret-store/gkm-secret-binary.c	Thu Oct 18 11:31:15 2012
@@ -73,8 +73,8 @@ typedef struct {
 	char *display_name;
 	const guchar *ptr_secret;
 	gsize n_secret;
-	time_t ctime;
-	time_t mtime;
+	long ctime;
+	long mtime;
 	GHashTable *attributes;
 	GList *acl;
 } ItemInfo;
@@ -854,7 +854,7 @@ gkm_secret_binary_read (GkmSecretCollection *collectio
 	guchar major, minor, crypto, hash;
 	guint32 flags;
 	guint32 lock_timeout;
-	time_t mtime, ctime;
+	long mtime, ctime;
 	char *display_name;
 	guint32 tmp;
 	guint32 num_items;
