Update and support draft 26
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
#ifdef OPENSSL_SYS_UNIX
|
||||
|
||||
#if defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__)
|
||||
# include <sys/types.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/time.h>
|
||||
@@ -70,7 +71,7 @@ static uint64_t get_timer_bits(void);
|
||||
# define OSSL_POSIX_TIMER_OKAY
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
#endif /* defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__) */
|
||||
|
||||
int syscall_random(void *buf, size_t buflen);
|
||||
|
||||
@@ -392,7 +393,7 @@ size_t rand_pool_acquire_entropy(RAND_POOL *pool)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef OPENSSL_SYS_UNIX
|
||||
#if defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__)
|
||||
int rand_pool_add_nonce_data(RAND_POOL *pool)
|
||||
{
|
||||
struct {
|
||||
@@ -512,4 +513,4 @@ static uint64_t get_timer_bits(void)
|
||||
# endif
|
||||
return time(NULL);
|
||||
}
|
||||
#endif
|
||||
#endif /* defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__) */
|
||||
Reference in New Issue
Block a user