Include e_os.h to get the proper definition of OPENSSL_UNISTD, and use
that macro. It's possible that OPENSSL_UNISTD_IO should be used instead of OPENSSL_UNISTD, for the MSDOS case...
This commit is contained in:
parent
f743ef233a
commit
a7d64957b9
4 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
SHA1(fips_des_enc.c)= a4b88bb16782604a298d74de04a8b3bc3a204c5a
|
||||
SHA1(fips_des_selftest.c)= f516832dcb9c49c20adc35c14e2b00ed0ebd36b2
|
||||
SHA1(fips_des_locl.h)= 5e5128f074485e72d6fdee00d22d46a694bd5abe
|
||||
SHA1(fips_des_locl.h)= a4cf60ca32476a2483b3e4460ec9a19c0444fd20
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#ifndef HEADER_DES_LOCL_H
|
||||
#define HEADER_DES_LOCL_H
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
#include "e_os.h"
|
||||
|
||||
#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16)
|
||||
#ifndef OPENSSL_SYS_MSDOS
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA1(fips_rand.c)= 14f651281d84cdca50e4d155557b68c9d1b5cbb4
|
||||
SHA1(fips_rand.c)= 76d532a78471404825bb7b718307dcc7cdfbf30f
|
||||
SHA1(fips_rand.h)= da5ee76588070c97d47c939d069d250a1476a080
|
||||
|
|
|
@ -56,9 +56,14 @@
|
|||
#include <openssl/rand.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/fips_rand.h>
|
||||
#include "e_os.h"
|
||||
#include <sys/time.h>
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#ifdef OPENSSL_UNISTD
|
||||
# include OPENSSL_UNISTD
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#define SEED_SIZE 8
|
||||
|
|
Loading…
Reference in a new issue