]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Correct version used to check for elf_aux_info() on FreeBSD
authorBrad Smith <brad@comstyle.com>
Wed, 17 Sep 2025 03:16:48 +0000 (23:16 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 23 Sep 2025 14:33:20 +0000 (16:33 +0200)
FreeBSD also added elf_aux_info() to the 11 branch and was shipped
with 11.4.

https://github.com/freebsd/freebsd-src/commit/03444a7d439755189e4dc8ccd56403bbaef3d6b0

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28581)

crypto/armcap.c
crypto/ppccap.c

index b9ccae72adc105ab842d71f66b161561a6253054..e294b1d44cd3fb622ed5b803cb5528da628e646a 100644 (file)
@@ -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
index 13ebf973158598f54858b46a5a9d1ed117b0ef96..d4d3c8206d68cd15d2adfb751d22cb68ce448ba8 100644 (file)
@@ -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