Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
jitterentropy
jitterentropy-split-internal-header.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jitterentropy-split-internal-header.patch of Package jitterentropy
Index: jitterentropy-library-3.4.0/jitterentropy.h =================================================================== --- jitterentropy-library-3.4.0.orig/jitterentropy.h +++ jitterentropy-library-3.4.0/jitterentropy.h @@ -42,6 +42,10 @@ #ifndef _JITTERENTROPY_H #define _JITTERENTROPY_H +#include <unistd.h> +#include <errno.h> +#include <stdint.h> + #ifdef __cplusplus extern "C" { #endif @@ -98,11 +102,13 @@ extern "C" { * Jitter RNG State Definition Section ***************************************************************************/ +#ifdef __JITTERENTROPY_INTERNAL #if defined(_MSC_VER) #include "arch/jitterentropy-base-windows.h" #else #include "jitterentropy-base-user.h" #endif +#endif #define SHA3_256_SIZE_DIGEST_BITS 256 #define SHA3_256_SIZE_DIGEST (SHA3_256_SIZE_DIGEST_BITS >> 3) Index: jitterentropy-library-3.4.0/Makefile =================================================================== --- jitterentropy-library-3.4.0.orig/Makefile +++ jitterentropy-library-3.4.0/Makefile @@ -9,6 +9,7 @@ LDFLAGS +=-Wl,-z,relro,-z,now -lpthread # Enable internal timer support CFLAGS += -DJENT_CONF_ENABLE_INTERNAL_TIMER +CFLAGS += -D__JITTERENTROPY_INTERNAL GCCVERSIONFORMAT := $(shell echo `$(CC) -dumpversion | sed 's/\./\n/g' | wc -l`) ifeq "$(GCCVERSIONFORMAT)" "3"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor