debian/patches/abort_abort_abort.patch: signtool.exe isn't happy with some of...

debian/patches/abort_abort_abort.patch: signtool.exe isn't happy with some of the structure of our binary, partly because abort() is thought to be an external symbol, which causes some relocalisations to appear.
parent 4a3efbe4
shim (13-0ubuntu2) UNRELEASED; urgency=medium
* debian/patches/abort_abort_abort.patch: signtool.exe isn't happy with some
of the structure of our binary, partly because abort() is thought to be an
external symbol, which causes some relocalisations to appear.
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Mon, 06 Nov 2017 09:13:01 -0500
shim (13-0ubuntu1) artful; urgency=medium
* New upstream release: 13
......
From: Peter Jones <pjones@redhat.com>
Subject: define abort to avoid an unnecessary reloc.
---
Cryptlib/Include/OpenSslSupport.h | 1 +
1 file changed, 1 insertion(+)
Index: b/Cryptlib/Include/OpenSslSupport.h
===================================================================
--- a/Cryptlib/Include/OpenSslSupport.h
+++ b/Cryptlib/Include/OpenSslSupport.h
@@ -380,5 +380,6 @@ extern FILE *stdout;
#define atoi(nptr) AsciiStrDecimalToUintn(nptr)
#define gettimeofday(tvp,tz) do { (tvp)->tv_sec = time(NULL); (tvp)->tv_usec = 0; } while (0)
#define gmtime_r(timer,result) (result = NULL)
+#define abort()
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment