From 783082a9e304661c13b2fffa5020e0a9d4ddcf479a110cebfed585016811be30 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Wed, 31 Jan 2018 16:52:03 +0000 Subject: [PATCH] Accepting request 571491 from home:oertel:branches:security - cleaner solution for the endian detection issue: include the proper header file OBS-URL: https://build.opensuse.org/request/show/571491 OBS-URL: https://build.opensuse.org/package/show/security/sha1collisiondetection?expand=0&rev=12 --- sha1collisiondetection-endian_detection.patch | 14 +++++++------- sha1collisiondetection.changes | 6 ++++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/sha1collisiondetection-endian_detection.patch b/sha1collisiondetection-endian_detection.patch index ec3dc14..7d47233 100644 --- a/sha1collisiondetection-endian_detection.patch +++ b/sha1collisiondetection-endian_detection.patch @@ -1,10 +1,10 @@ --- lib/sha1.c +++ lib/sha1.c -@@ -28,6 +28,7 @@ - #if (!defined SHA1DC_FORCE_LITTLEENDIAN) && \ - ((defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN)) || \ - (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __BIG_ENDIAN__)) || \ -+ (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)) || \ - defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \ - defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) || defined(SHA1DC_FORCE_BIGENDIAN)) +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + #include "sha1.h" + #include "ubc_check.h" diff --git a/sha1collisiondetection.changes b/sha1collisiondetection.changes index a894c14..d83d332 100644 --- a/sha1collisiondetection.changes +++ b/sha1collisiondetection.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 31 17:48:45 CET 2018 - ro@suse.de + +- cleaner solution for the endian detection issue: + include the proper header file + ------------------------------------------------------------------- Wed Jan 31 17:33:48 CET 2018 - ro@suse.de