Blame SOURCES/0025-certdb-fix-PRTime-printfs-for-i686.patch

0ac9f2
From bc1043bf2b428971e29a61a341da9a57595bada5 Mon Sep 17 00:00:00 2001
0ac9f2
From: Peter Jones <pjones@redhat.com>
0ac9f2
Date: Wed, 9 Aug 2017 17:40:33 -0400
0ac9f2
Subject: [PATCH 25/29] certdb: fix PRTime printfs for i686
0ac9f2
0ac9f2
Signed-off-by: Peter Jones <pjones@redhat.com>
0ac9f2
---
0ac9f2
 src/certdb.c | 5 ++---
0ac9f2
 1 file changed, 2 insertions(+), 3 deletions(-)
0ac9f2
0ac9f2
diff --git a/src/certdb.c b/src/certdb.c
0ac9f2
index fae80af..29c9502 100644
0ac9f2
--- a/src/certdb.c
0ac9f2
+++ b/src/certdb.c
0ac9f2
@@ -384,11 +384,10 @@ check_cert(pesigcheck_context *ctx, SECItem *sig, efi_guid_t *sigtype,
0ac9f2
 	}
0ac9f2
 
0ac9f2
 	if (lateNow < earlyNow)
0ac9f2
-		printf("Signature has impossible time constraint: %ld <= %ld\n",
0ac9f2
-		       earlyNow / 1000000, lateNow / 1000000);
0ac9f2
+		printf("Signature has impossible time constraint: %lld <= %lld\n",
0ac9f2
+		       earlyNow / 1000000LL, lateNow / 1000000LL);
0ac9f2
 	atTime = earlyNow / 2 + lateNow / 2;
0ac9f2
 
0ac9f2
-
0ac9f2
 	cinfo = SEC_PKCS7DecodeItem(pkcs7sig, NULL, NULL, NULL, NULL, NULL,
0ac9f2
 				    NULL, NULL);
0ac9f2
 	if (!cinfo)
0ac9f2
-- 
0ac9f2
2.13.4
0ac9f2