Commit Graph

2492 Commits

Author SHA1 Message Date
Brent Cook
659e87fe1c move ftruncate to common libcompat for tests 2025-10-07 04:23:58 -05:00
Brent Cook
2f78b04fd7 add explicit parens for combined logic 2025-10-07 03:48:53 -05:00
Brent Cook
7a841ee973 Land #1198, Fix inconsistencies in accept4.c 2025-10-07 03:07:42 -05:00
Theo Buehler
3821bc6d38 Tweak ChangeLog 2025-10-06 06:49:42 +02:00
Theo Buehler
10a20231f9 Update ChangeLog 2025-09-30 04:48:44 -06:00
Theo Buehler
6702db69c4 Update ChangeLog 2025-09-28 02:20:27 -06:00
Theo Buehler
607ae1b805 adapt to mlkem deduplication 2025-09-06 06:06:34 +02:00
imorgenstern
d7a9ca6d2f Fix inconsistencies in accept4.c
Fix inconsistencies in accept4.c. If the underlying accept() fails the shim returns the listening socket s instead of −1.
2025-08-28 13:42:04 +02:00
Theo Buehler
cf1a8cf5ba Do not remove opensslconf.h for android 2025-08-26 01:12:22 -06:00
Theo Buehler
e4e25cd281 Make opensslconf.h MI again 2025-08-26 00:55:50 -06:00
Theo Buehler
4494cd0525 Revert "trim some whitespace for hpux checks"
This reverts commit 48d4157f99.
because it didn't trim whitespace and doesn't look right.

Pointed out by @vszakats in
https://github.com/libressl/portable/pull/1165#pullrequestreview-3148582342
2025-08-25 00:03:51 -06:00
Theo Buehler
2f62a5e2e7 regen patches 2025-08-24 23:51:49 -06:00
Theo Buehler
77be80d621 Remove upstreamed patches 2025-08-18 19:13:01 +02:00
Theo Buehler
f30ace5a6b Land #1194 - Improve *_namespace.h patches 2025-08-18 12:52:28 +02:00
Theo Buehler
8c76c282b3 Improve {crypto,ssl}_namespace.h patches
This way we should be able to pull them into openbsd.
2025-08-18 12:14:35 +02:00
Theo Buehler
b96c2ff27f Land #1193 - Run ML-KEM tests on Windows 2025-08-18 11:25:40 +02:00
Theo Buehler
3e43172fee Run mlkem_tests on Windows
There's probably cleaner ways to do it, but shrug. Better than nothing.
2025-08-18 11:22:52 +02:00
Theo Buehler
d811b09c21 link new s2n-bignum assembly to build 2025-08-17 14:26:54 -06:00
Theo Buehler
627df1f3d6 Ignore ec_arithmetic test 2025-08-17 13:23:46 -06:00
Theo Buehler
45e37fba52 Fix a leftover "mlkem.h" include 2025-08-17 13:22:46 -06:00
Theo Buehler
aaabed455c Update for MLKEM changes 2025-08-17 13:13:58 -06:00
Theo Buehler
23a96ede97 Mop up RC4_CHUNK - opensslconf.h is now MI
Change-Id: I6a6a69646afcda5abaa40e9efb586abb80eeafb5
2025-08-17 21:05:36 +02:00
Theo Buehler
95fb8dfb11 Land #1192 - arm64 on ubuntu 24.04
Change-Id: I6a6a6964369baf2428e778bc59dbf90e4f6424f9
2025-08-09 11:29:05 +02:00
Ilia Shipitsin
c0ebc3a694 CI: introduce ubuntu-24.04 on arm64
reference: https://github.com/actions/partner-runner-images
2025-08-08 20:49:00 +02:00
Theo Buehler
bbac3a6a85 Land #1190 - fix resolv.h and arpa/nameser.h detection
Change-Id: I6a6a6964e97961b85bb743940f38aa31c19004bd
2025-08-01 21:18:55 +02:00
Un1q32
d580acbc29 check for resolv.h and arpa/nameser.h 2025-08-01 13:15:43 -04:00
Theo Buehler
887c1d0bc6 Land #1188 - fix rust-openssl test until libressl 4.2.0
Change-Id: I6a6a6964cfa147ffa4de39f1ca2ef38f12ccbc0f
2025-07-30 09:57:59 +02:00
Kenjiro Nakayama
5bcf54058d CI: Apply EVP const_ptr patch for LibreSSL < 4.2.0
In the GitHub Actions workflow for rust-openssl testing, apply the
patch used in OpenBSD ports to support EVP_PKEY_get1_* APIs with
const_ptr. This ensures that the build succeeds before the official
version bump to libressl420.

This is a temporary workaround to keep the tests passing until
4.2.0 release.

Fix https://github.com/libressl/portable/issues/1187
2025-07-30 09:56:19 +09:00
Theo Buehler
7218171381 Sync DES_UNROLL removal from opensslconf.h
Change-Id: I6a6a6964d015e92505a3a24785cdc3ea2535ad5e
2025-07-27 15:29:19 +02:00
Theo Buehler
21026f5e2b Land #1185 - fix OOM in Emscripten ASAN 2025-07-23 17:30:17 +02:00
Theo Buehler
df41f5b5c2 Try to fix OOM in Emscripten ASAN 2025-07-23 17:04:08 +02:00
Theo Buehler
eacd3684b2 Update man links 2025-07-23 08:23:57 -06:00
Theo Buehler
480c1f8f62 regen amd64 crypto_arch.patch 2025-07-23 08:19:29 -06:00
Theo Buehler
18024b9d62 Sync BN_LLONG removal from opensslconf.h
Change-Id: I6a6a6964e4319a0fb0a0ecf5b4f6ea226beca433
2025-07-22 18:40:54 +02:00
Theo Buehler
0a07d6b66f Adjust for x_pkey.c removal
Change-Id: I6a6a696458f18874c81e49aa5068a910a51becdb
2025-07-12 22:23:32 +02:00
Theo Buehler
54dc5a27b1 x_info.c was removed
Change-Id: I6a6a6964f97ec3f04111708ee726de6dd4ea8630
2025-07-12 21:58:33 +02:00
Theo Buehler
24fee6c7de Land #1181 - cmake: limit -W to C language 2025-07-07 17:14:11 +02:00
Theo Buehler
c03d6cb359 Land #1184 - include opensslconf.h on loongarch64 2025-07-07 17:09:24 +02:00
Theo Buehler
80ec6b9286 Add missing loongarch64/opensslconf.h
Fixes #1183
2025-07-07 17:01:57 +02:00
Jim B
5c205f4be3 Remove applying flag to C++ code 2025-07-06 15:48:55 -07:00
Jim B
f4d8b53546 Limit usage of warning flags to C and C++
`add_compile_options()` adds options to all compilers CMake can invoke, including ASM.  The format of this warning flag causes MASM to fail if the option is specified.  This limits specifying the warning suppression to just C and C++.
2025-07-06 09:32:49 -07:00
Theo Buehler
0daa8adfe8 Adjust to GCM refactoring 2025-06-29 04:13:08 -06:00
Theo Buehler
4640288d1c regen nc patch 2025-06-27 12:40:49 -06:00
Theo Buehler
b6fa15f21b Update ChangeLog 2025-06-27 12:00:17 -06:00
Theo Buehler
fd25d60a12 Pass -Icrypto/aes to CPP flags 2025-06-27 11:57:03 -06:00
Theo Buehler
e05910b503 Only link aes_${arch}.c to asm builds
Don't mix C source with ASM source. Add the ASM support C code
to CRYPTO_SRC or libcrypto_la_SOURCES as normal, but depending 
on the HOST_ASM* bits

Change-Id: I6a6a69648fc7c2102c96813b70be0d255a345cd3
2025-06-26 05:37:35 +02:00
Theo Buehler
41ddb5ccbf Revert "Sprinkle some #ifdef"
This reverts commit a64e99ae25.
2025-06-17 08:54:51 +02:00
Theo Buehler
a64e99ae25 Sprinkle some #ifdef 2025-06-16 11:57:57 -06:00
Theo Buehler
86376ca661 link aes_{amd64,i386}.c to build 2025-06-16 11:12:42 -06:00
Theo Buehler
4c0fb1c6cd regen patches 2025-06-16 10:44:07 -06:00