mirror of https://github.com/openssl/openssl.git
Correct version used to check for elf_aux_info() on FreeBSD
FreeBSD also added elf_aux_info() to the 11 branch and was shipped
with 11.4.
03444a7d43
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28581)
This commit is contained in:
parent
312904b216
commit
a02b921cf2
|
@ -76,7 +76,7 @@ uint32_t OPENSSL_rdtsc(void)
|
|||
# endif
|
||||
# if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
# include <sys/param.h>
|
||||
# if (defined(__FreeBSD__) && __FreeBSD_version >= 1200000) || \
|
||||
# if (defined(__FreeBSD__) && __FreeBSD_version >= 1104000) || \
|
||||
(defined(__OpenBSD__) && OpenBSD >= 202409)
|
||||
# include <sys/auxv.h>
|
||||
# define OSSL_IMPLEMENT_GETAUXVAL
|
||||
|
|
|
@ -101,7 +101,7 @@ size_t OPENSSL_instrument_bus2(unsigned int *out, size_t cnt, size_t max)
|
|||
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
# include <sys/param.h>
|
||||
# if (defined(__FreeBSD__) && __FreeBSD_version >= 1200000) || \
|
||||
# if (defined(__FreeBSD__) && __FreeBSD_version >= 1104000) || \
|
||||
(defined(__OpenBSD__) && OpenBSD >= 202409)
|
||||
# include <sys/auxv.h>
|
||||
# define OSSL_IMPLEMENT_GETAUXVAL
|
||||
|
|
Loading…
Reference in New Issue