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
This commit is contained in:
parent
109b7cfb37
commit
783082a9e3
@ -1,10 +1,10 @@
|
|||||||
--- lib/sha1.c
|
--- lib/sha1.c
|
||||||
+++ lib/sha1.c
|
+++ lib/sha1.c
|
||||||
@@ -28,6 +28,7 @@
|
@@ -9,6 +9,7 @@
|
||||||
#if (!defined SHA1DC_FORCE_LITTLEENDIAN) && \
|
#include <memory.h>
|
||||||
((defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN)) || \
|
#include <stdio.h>
|
||||||
(defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __BIG_ENDIAN__)) || \
|
#include <stdlib.h>
|
||||||
+ (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)) || \
|
+#include <endian.h>
|
||||||
defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \
|
|
||||||
defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__) || defined(SHA1DC_FORCE_BIGENDIAN))
|
|
||||||
|
|
||||||
|
#include "sha1.h"
|
||||||
|
#include "ubc_check.h"
|
||||||
|
@ -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
|
Wed Jan 31 17:33:48 CET 2018 - ro@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user