forked from pool/pesign
fix signing
OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=7
This commit is contained in:
parent
fa50606847
commit
3adf11f3a3
12
pesign-no-set-image-size.patch
Normal file
12
pesign-no-set-image-size.patch
Normal 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;
|
||||
}
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user