SHA256
1
0
forked from pool/pesign
Michael Schröder 2013-02-12 16:03:26 +00:00 committed by Git OBS Bridge
parent fa50606847
commit 3adf11f3a3
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/libdpe/pe_addcert.c 2013-02-12 14:30:49.000000000 +0000
+++ b/libdpe/pe_addcert.c 2013-02-12 14:30:55.000000000 +0000
@@ -61,7 +61,9 @@ pe_alloccert(Pe *pe, size_t size)
dd->certs.virtual_address = compute_file_addr(pe, addr);
dd->certs.size = size;
+#if 0
pe_set_image_size(pe);
+#endif
return 0;
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 12 15:32:11 CET 2013 - mls@suse.de
- do not try to recalculate the image size, it is included in the
hash and therefore must not change.
-------------------------------------------------------------------
Wed Feb 6 10:44:48 UTC 2013 - glin@suse.com

View File

@ -42,6 +42,7 @@ Patch7: pesign-bnc801653-teardown-segfault.patch
Patch9: pesign-fix-export-attributes.patch
# PATCH-FIX-UPSTREAM pesign-privkey_unneeded.diff glin@suse.com -- Don't check the private key when importing the raw signature
Patch10: pesign-privkey_unneeded.diff
Patch11: pesign-no-set-image-size.patch
BuildRequires: mozilla-nss-devel
BuildRequires: pkg-config
BuildRequires: popt-devel
@ -76,6 +77,7 @@ Authors:
%patch7 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%build
make OPTFLAGS="$RPM_OPT_FLAGS"