1726 Commits

Author SHA1 Message Date
Brent Cook
de9c24a025 rename regress to rust regress 2023-07-07 04:34:46 -05:00
Brent Cook
51368394eb Land #886, add compat getopt implementation 2023-07-07 04:32:20 -05:00
Brent Cook
2354879274 Land #883, improve socket / file descriptor checks on Windows 2023-07-07 04:31:00 -05:00
Brent Cook
4070587a02 Land #884, add Solaris test workflow 2023-07-07 04:28:25 -05:00
Brent Cook
adca8a2f0a Land #885, change the trigger for running fuzzer tests 2023-07-07 04:22:35 -05:00
Brent Cook
6000f4de8f remove aeadtest patch upstreamed 2023-07-07 04:21:56 -05:00
Brent Cook
7463f87cf1 add compat getopt implementation, remove patches
This adds a getopt implementation for compatibility where it is not
available, removing a couple of regress patches.

Note, this is a slightly modified copy from OpenBSD libc that doesn't
expose getopt_long, which has dependency conflicts with Windows system
headers and isn't needed anyway.
2023-07-07 12:11:20 +03:00
Theo Buehler
e06ce19f95 hook bn_print to build 2023-07-07 02:37:45 -06:00
Theo Buehler
990fd347ee Add hidden ts.h 2023-07-07 02:37:42 -06:00
Brent Cook
e1d6f78296 change the trigger for running fuzzer tests
Since fuzzers benefit more from being run regularly on the openbsd tree,
and they take a long time, does it make more sense that the trigger is a
cron like the Coverity job? They sometimes don't work in branches anyway,
since the fuzz builds rely on external code being updated to match
the master branch.
2023-07-07 08:34:16 +03:00
Brent Cook
f331e071bb initial solaris test workflow
This adds a builder for Solaris 11.4 based on https://github.com/vmactions/solaris-vm
2023-07-06 23:47:57 +03:00
Brent Cook
c9b18cb296 fix get/setsockopt reversed logic 2023-07-06 22:05:06 +03:00
Brent Cook
f75c00226c remove unneeded extern since we're not trying to hack this into mingw-w64 2023-07-06 20:53:12 +03:00
Brent Cook
afcd4be8a7 change socket / file descriptor checks on windows
based on discussion in https://github.com/libressl/portable/issues/266
and https://bugs.python.org/issue23524 adjust the compat layer for
Windows to use _get_osfhandle in combination with
_set_thread_local_invalid_parameter_handler if applicable to more
reliably determine if a handle is a socket, file, or closed socket.

This prevents assertions when calling tls_close on an already-closed
socket.
2023-07-06 20:32:34 +03:00
Brent Cook
4aa7642130 update endian compatibility shim
Prefer function-like macros where possible, some style tweaks, and add
Solaris support.
2023-07-06 11:07:42 +03:00
Brent Cook
09418fe29e make update.sh compatible with Solaris 11 tail behavior 2023-07-06 11:07:42 +03:00
Brent Cook
691814aaac see #353, do not support Solaris 10 2023-07-06 11:07:42 +03:00
Theo Buehler
546a622bcd Add hidden asn1.h, asn1t.h, bio.h to build 2023-07-05 15:38:50 -06:00
Theo Buehler
a47e39014e Remove patches merged into upstream 2023-07-05 15:38:45 -06:00
Theo Buehler
b2b1923600 Add hidden/openssl/chacha.h 2023-07-05 13:46:42 -06:00
Theo Buehler
ed4831099a Remove patch that was merged upstream 2023-07-05 13:25:58 -06:00
Theo Buehler
9a00e9e1ce Remove patch that was merged into upstream 2023-07-05 11:32:18 -06:00
Theo Buehler
186134f7c5 Some ECDH and ECDSA files were (re)moved 2023-07-05 07:08:24 -06:00
Brent Cook
0c3849a055 Land #880, move function attribute shims 2023-07-05 08:00:57 -05:00
Brent Cook
3a757272d0 move attribute shims
There's not a great place for these, but since they are internal, we can
just move them to the most common header.
2023-07-05 07:08:32 -05:00
Brent Cook
642ead359b only link libtls statically to libssl/libcrypto when building standalone 2023-07-05 14:27:23 +03:00
Brent Cook
74be614b0c add Windows builder test actions 2023-07-05 11:29:13 +03:00
Brent Cook
3601512b61 update testssl.bat for TLS 1.0 removal 2023-07-05 11:28:18 +03:00
Brent Cook
d238b6d3a1 label individual macos build arches 2023-07-05 00:28:56 +03:00
Brent Cook
77ce9713e4 Land #874, reenable ssltest 2023-07-04 06:52:41 -05:00
Brent Cook
15d076b475 add ventura and arm64 test targets, remove big sur
This reworks the macOS github actions to target Apple silicon for tests.
To simplify the test matrix, removing big sur and adding ventura.
Also some cleanups to the test script. We really don't need the 'x'
workaround for non-POSIX shells, and it got confusing writing "xx86_64".
2023-07-04 13:09:31 +03:00
Brent Cook
2203c13d25 make cross compilation possible on macOS with CMake
Sync CMAKE_SYSTEM_PROCESSOR to CMAKE_OSX_ARCHITECTURES. This doesn't
support universal binaries, but does allow cross-compiling for a single
architecture by setting -DCMAKE_OSX_ARCHITECTURES=(arm64|x86_64)
2023-07-04 12:36:57 +03:00
Brent Cook
71ce0b8c3e generate opensslconf.h in build dir for cmake 2023-07-04 10:37:24 +03:00
Brent Cook
23718ad134 reenable ssltest
failure was unrelated to tls 1.0/1.1 changes
2023-07-04 01:52:46 -05:00
Brent Cook
b16ad4dbd4 disable client / server tests for now
These were broken with the removal of TLS 1.0/1.1 support due to
static checks in packet structure.
2023-07-04 03:29:19 +03:00
Brent Cook
2722f95501 Land #843, add signertest to build 2023-07-03 11:19:38 -05:00
Brent Cook
7d0b106805 Land #872, implement endbr64 workaround on macOS in preprocessor 2023-07-03 11:05:09 -05:00
Brent Cook
7179a01c45 flip logic around 2023-07-03 19:00:12 +03:00
Brent Cook
b328be457a third try's a charm 2023-07-03 18:40:00 +03:00
Brent Cook
cdb7ad4753 define endbr64 as nop 2023-07-03 16:50:10 +03:00
Theo Buehler
33b2c49c9b link signertest to build 2023-07-03 16:45:02 +03:00
Brent Cook
11dfc90f83 move endbr64 removal to preprocessor 2023-07-03 16:34:38 +03:00
Bob Beck
4ccf125f88 legacy disabling 2023-07-02 11:29:34 -06:00
Theo Buehler
2493c4737b Update ChangeLog 2023-07-02 11:21:27 -06:00
Theo Buehler
559f40996a Update ChangeLog 2023-06-28 14:27:10 -06:00
Theo Buehler
3bfd835ae3 Update ChangeLog 2023-06-26 03:31:01 -06:00
Theo Buehler
7204769b60 ech_local.h was removed 2023-06-25 14:06:59 -06:00
Theo Buehler
1276956834 Update ChangeLog 2023-06-25 07:57:17 -06:00
Theo Buehler
c6fcebf9e3 Update ChangeLog 2023-06-24 14:31:19 -06:00
Theo Buehler
2a9096debe Add bn_convert test to build 2023-06-24 04:51:01 -06:00