4378c6bb0f
Signed-off-by: Peter Jones <pjones@redhat.com>
32 lines
968 B
Diff
32 lines
968 B
Diff
From 3c1918476f57c6b716cbcffd7ccec7949e4789ad 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/28] certdb: fix PRTime printfs for i686
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
src/certdb.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/certdb.c b/src/certdb.c
|
|
index fae80af..29c9502 100644
|
|
--- a/src/certdb.c
|
|
+++ b/src/certdb.c
|
|
@@ -384,11 +384,10 @@ check_cert(pesigcheck_context *ctx, SECItem *sig, efi_guid_t *sigtype,
|
|
}
|
|
|
|
if (lateNow < earlyNow)
|
|
- printf("Signature has impossible time constraint: %ld <= %ld\n",
|
|
- earlyNow / 1000000, lateNow / 1000000);
|
|
+ printf("Signature has impossible time constraint: %lld <= %lld\n",
|
|
+ earlyNow / 1000000LL, lateNow / 1000000LL);
|
|
atTime = earlyNow / 2 + lateNow / 2;
|
|
|
|
-
|
|
cinfo = SEC_PKCS7DecodeItem(pkcs7sig, NULL, NULL, NULL, NULL, NULL,
|
|
NULL, NULL);
|
|
if (!cinfo)
|
|
--
|
|
2.13.4
|
|
|