pesign/0026-certdb-fix-PRTime-printfs-for-i686.patch
Peter Jones 67a7986b20 Try to fix the db problem nirik is seeing trying to upgrade the builders.
Signed-off-by: Peter Jones <pjones@redhat.com>
2017-08-09 17:41:12 -04:00

27 lines
799 B
Diff

From c3838d2556508ebb98b3ee014f465a188ef51c57 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Wed, 9 Aug 2017 17:40:33 -0400
Subject: [PATCH 26/26] certdb: fix PRTime printfs for i686
Signed-off-by: Peter Jones <pjones@redhat.com>
---
src/certdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/certdb.c b/src/certdb.c
index fae80af..38122a7 100644
--- a/src/certdb.c
+++ b/src/certdb.c
@@ -384,7 +384,7 @@ check_cert(pesigcheck_context *ctx, SECItem *sig, efi_guid_t *sigtype,
}
if (lateNow < earlyNow)
- printf("Signature has impossible time constraint: %ld <= %ld\n",
+ printf("Signature has impossible time constraint: %lld <= %lld\n",
earlyNow / 1000000, lateNow / 1000000);
atTime = earlyNow / 2 + lateNow / 2;
--
2.13.4