Update to 0.101 to fix more "pesign -E" issues.
This commit is contained in:
parent
308dd72e6c
commit
870d99b8c9
@ -1,28 +0,0 @@
|
|||||||
From 9eb2814858270af2d7ecfbfa5ca131e7be2f9f53 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Peter Jones <pjones@redhat.com>
|
|
||||||
Date: Mon, 3 Dec 2012 08:47:22 -0500
|
|
||||||
Subject: [PATCH] Fix a casting problem on 32-bit.
|
|
||||||
|
|
||||||
Not that we really care about i686, but...
|
|
||||||
|
|
||||||
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
||||||
---
|
|
||||||
src/wincert.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/wincert.c b/src/wincert.c
|
|
||||||
index 5caaa6e..4197a87 100644
|
|
||||||
--- a/src/wincert.c
|
|
||||||
+++ b/src/wincert.c
|
|
||||||
@@ -141,7 +141,7 @@ done:
|
|
||||||
|
|
||||||
tmpcert = (win_certificate *)((uint8_t *)certs + n);
|
|
||||||
|
|
||||||
- if ((uint64_t)tmpcert > (uint64_t)map + map_size)
|
|
||||||
+ if ((intptr_t)tmpcert > (intptr_t)map + map_size)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
/* length _includes_ the size of the structure. */
|
|
||||||
--
|
|
||||||
1.8.0
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Summary: Signing utility for UEFI binaries
|
Summary: Signing utility for UEFI binaries
|
||||||
Name: pesign
|
Name: pesign
|
||||||
Version: 0.100
|
Version: 0.101
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -19,7 +19,6 @@ ExclusiveArch: i686 x86_64 ia64
|
|||||||
# git checkout %%{version}
|
# git checkout %%{version}
|
||||||
Source0: pesign-%{version}.tar.bz2
|
Source0: pesign-%{version}.tar.bz2
|
||||||
Source1: rh-test-certs.tar.bz2
|
Source1: rh-test-certs.tar.bz2
|
||||||
Patch0: 0001-Fix-a-casting-problem-on-32-bit.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the pesign utility for signing UEFI binaries as
|
This package contains the pesign utility for signing UEFI binaries as
|
||||||
@ -89,6 +88,9 @@ exit 0
|
|||||||
%ghost %attr(0660, -, -) %{_localstatedir}/run/%{name}/pesign.pid
|
%ghost %attr(0660, -, -) %{_localstatedir}/run/%{name}/pesign.pid
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 04 2013 Peter Jones <pjones@redhat.com> - 0.101-1
|
||||||
|
- Update to 0.101 to fix more "pesign -E" issues.
|
||||||
|
|
||||||
* Fri Nov 30 2012 Peter Jones <pjones@redhat.com> - 0.100-1
|
* Fri Nov 30 2012 Peter Jones <pjones@redhat.com> - 0.100-1
|
||||||
- Fix insertion of signatures from a file.
|
- Fix insertion of signatures from a file.
|
||||||
|
|
||||||
|
1
sources
1
sources
@ -1,2 +1,3 @@
|
|||||||
328db7cb27847cb610b7cf8f9c470455 rh-test-certs.tar.bz2
|
328db7cb27847cb610b7cf8f9c470455 rh-test-certs.tar.bz2
|
||||||
ce4d253db06351c3de9d9334c327f93c pesign-0.100.tar.bz2
|
ce4d253db06351c3de9d9334c327f93c pesign-0.100.tar.bz2
|
||||||
|
c1e8c0d06d4a3a59ff27a4c0e42f60de pesign-0.101.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user