Theo Buehler
89e8315542
emscripten: avoid oom in clienttest
2025-12-18 09:24:24 -07:00
Brent Cook
75828c7979
add mstemp.c to distribution
2025-10-23 05:32:00 -05:00
Brent Cook
7ed28d2f50
add mkstemp for msvc builds
2025-10-07 05:38:30 -05:00
Brent Cook
2f78b04fd7
add explicit parens for combined logic
2025-10-07 03:48:53 -05: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
aaabed455c
Update for MLKEM changes
2025-08-17 13:13:58 -06:00
Theo Buehler
df41f5b5c2
Try to fix OOM in Emscripten ASAN
2025-07-23 17:04:08 +02:00
Brent Cook
21f4bd2a61
Land #1175 , Add ISC copyright headers, add explicit COPYING to LibreSSL portable tree
2025-06-03 05:08:04 -05:00
Brent Cook
a3f6f8a09f
add copyright headers to test batch files
2025-06-03 16:08:47 +07:00
Brent Cook
2ac96ebd12
add copyright headers to test shell scripts
2025-06-03 13:38:34 +07:00
Brent Cook
340037f69a
add autotools build copyright headers
2025-06-01 08:22:33 +07:00
Brent Cook
c51665d429
add copyright headers to Cmake files
...
based on original committer and date
2025-06-01 08:22:33 +07:00
Theo Buehler
7b7adb7d70
Disable md_test and sha_test on Windows for now
2025-05-31 06:19:43 -06:00
Theo Buehler
bdcf92deea
only define noinst_HEADERS once
2025-05-31 04:37:33 -06:00
Theo Buehler
3110f57295
Fix typos plus some automake appeasing
2025-05-31 04:32:47 -06:00
Theo Buehler
2f407aa2f3
Include tests for automake builds
2025-05-31 04:16:06 -06:00
Theo Buehler
6b82af8052
link tests that need it against test helpers
2025-05-31 04:03:40 -06:00
Kenjiro Nakayama
0ae0935d69
Remove x509name test in preparation for merge into x509_name_test.c
...
This change cleans up the old test infrastructure in preparation for consolidating
the x509name.c test logic into x509_name_test.c.
Update CMakeLists.txt and Makefile.am accordingly.
2025-05-05 10:15:39 +09:00
Kenjiro Nakayama
dbce13a80f
rewrite pq_test to perform internal checks
...
This change prepares for the patch at
https://marc.info/?l=openbsd-tech&m=174634767904894&w=2 by removing the
need for pq_expected.txt, pq_test.sh, and pq_test.bat. The test now
performs internal output and priority verification in code, simplifying
the test infrastructure across platforms.
Update CMakeLists.txt and Makefile.am accordingly.
2025-05-04 20:50:49 +09:00
Brent Cook
5d119ff712
Land #1082 , add tests for #1069
...
Ensure where sockets and file descriptors can overlap that the correct
library calls are used on Windows.
2025-04-16 08:12:25 -05:00
Theo Buehler
1087da12fc
Sync opensslconf.h, add crypto_arch.h for mips
...
This was easy enough to make compile. As long as it doesn't get in the
way, I think we can keep this.
Fixes #1110
2025-04-12 18:06:24 +02:00
Theo Buehler
583199bf59
Add ChangeLog entry for loongarch64 + a review nit
2025-04-12 15:03:18 +02:00
Ivan A. Melnikov
031c2f1722
Basic loongarch64 support
...
Just wire things up to make the project buildable
on LoongArch64.
opensslconf.h is taken form riscv64 folder as is,
and is the same as on some other 64 bit architectures.
Refs: https://github.com/libressl/portable/issues/1123
Signed-off-by: Ivan A. Melnikov <iv@altlinux.org >
2025-04-10 17:22:36 +04:00
Theo Buehler
681944a75c
hook x509_name_test to build
2025-03-15 04:03:12 -06:00
Theo Buehler
98f393f2fd
Fix -I lines for ec_asn1_test
2025-03-09 11:21:58 -06:00
Yang Kun
849dbabf15
Fixes tests
2025-03-04 21:49:58 +08:00
Theo Buehler
5bbae88080
Link renegotiation test to build
2025-02-03 22:03:13 +01:00
Theo Buehler
13207b6890
link rsa_method_test to build
2025-01-04 12:36:10 -07:00
Theo Buehler
6debfc0a84
try to appease emscripten
2024-12-26 01:51:21 -07:00
Theo Buehler
4e0552995f
Adjust the ML-KEM tests to recent reorganization
2024-12-26 00:58:32 -07:00
Theo Buehler
3378e97726
Remove mlkem and bytestring from public visibility for now
2024-12-19 19:11:43 -07:00
Theo Buehler
f46d437e51
Some fixes for ML-KEM tests
...
- Run the 1024 iteration test as well as unit tests.
- Remove unused test script with unexpected contents.
Follow-on to #1127
2024-12-17 10:35:54 +01:00
Kenjiro Nakayama
a6cc8cca47
Hook ML-KEM related tests
...
This patch adds ML-KEM related tests.
2024-12-17 16:48:00 +09:00
Theo Buehler
9b6c55006a
Try to fix Emscripten ASAN OOM for ec_asn1_test
2024-11-02 16:23:13 +01:00
Theo Buehler
f5cc7b3dea
Link err_test to build
2024-10-08 13:11:11 +02:00
Theo Buehler
69c26f31f2
fix syslog_r and pipe2 detection
2024-10-02 12:35:23 +02:00
Theo Buehler
64f8aa3701
Adjust for whirlpool removal
2024-08-31 05:58:34 -06:00
Theo Buehler
c43335ee1d
Remove evp_pkey_check
2024-08-29 12:19:01 -06:00
Theo Buehler
dc710c5f64
... and tests
2024-08-11 15:32:32 +02:00
Theo Buehler
161984f56f
Use check_symbol_exists() rather than check_function_exists()
2024-08-02 07:32:01 -06:00
Theo Buehler
9c5c0c848f
reenable clienttest
2024-07-20 20:40:35 +02:00
datadiode
6f7da782ec
tests/compat/pipe2.c: Add create_issue_1069_sentinels() and call it from socketpair() to gain evidence whether issue #1069 is fixed
2024-07-19 09:35:20 +02:00
Theo Buehler
683f523f8d
grammar tweak
2024-06-19 14:06:09 +02:00
MoustaphaSaad
1b4bf24d88
call prepare_emscripten_test_target for x509_asn1 to fix an OOM error
...
when built in asan mode, x509_asn1 fails with an Out Of Memory error because of higher memory usage of address sanitizer. This commit sets `-sALLOW_MEMORY_GROWTH` for that target by calling prepare_emscripten_test_target
2024-06-19 14:06:09 +02:00
MoustaphaSaad
30e571fb5f
group testdsa, testenc, and testrsa under a single if(NOT EMSCRIPTEN)
2024-06-19 14:06:09 +02:00
MoustaphaSaad
075c0a01e9
replace if(EMSCRIPTEN) with prepare_emscripten_test_target function
...
introduce prepare_emscripten_test_target function to setup `--preload-file` and `-sALLOW_MEMORY_GROWTH` linker flags for test targets
2024-06-19 14:06:09 +02:00
MoustaphaSaad
d661f77ded
simplify explicit_bzero comment
2024-06-19 14:06:09 +02:00
MoustaphaSaad
165582f970
wrap bn_unit ALLOW_MEMORY_GROWTH in if(EMSCRIPTEN)
2024-06-19 14:06:09 +02:00
MoustaphaSaad
08d0f580b2
disable tlstest
...
tlstest uses socketpair syscall which is not supported by Emscripten
2024-06-19 14:06:09 +02:00
MoustaphaSaad
56007f827a
disable testrsa
...
testrsa doesn't have an executable instead it uses openssl executable which access various files for IO. adding such files to --preload-file is infeasible.
2024-06-19 14:06:09 +02:00