This reverts commit f45e45d127
.
References: https://pagure.io/releng/issue/8618
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
32 lines
968 B
Diff
32 lines
968 B
Diff
From bc1043bf2b428971e29a61a341da9a57595bada5 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Wed, 9 Aug 2017 17:40:33 -0400
|
|
Subject: [PATCH 25/29] 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
|
|
|