Update to 0.101 to fix more "pesign -E" issues.

This commit is contained in:
Peter Jones 2013-02-04 14:05:57 -05:00
parent 308dd72e6c
commit 870d99b8c9
3 changed files with 5 additions and 30 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
Summary: Signing utility for UEFI binaries
Name: pesign
Version: 0.100
Version: 0.101
Release: 1%{?dist}
Group: Development/System
License: GPLv2
@ -19,7 +19,6 @@ ExclusiveArch: i686 x86_64 ia64
# git checkout %%{version}
Source0: pesign-%{version}.tar.bz2
Source1: rh-test-certs.tar.bz2
Patch0: 0001-Fix-a-casting-problem-on-32-bit.patch
%description
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
%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
- Fix insertion of signatures from a file.

View File

@ -1,2 +1,3 @@
328db7cb27847cb610b7cf8f9c470455 rh-test-certs.tar.bz2
ce4d253db06351c3de9d9334c327f93c pesign-0.100.tar.bz2
c1e8c0d06d4a3a59ff27a4c0e42f60de pesign-0.101.tar.bz2