openssl/util
erbsland-dev 80008d4a94 Refactor and Enhance Compression Field Testing
Fixes #7940: Enhances the existing test for compression methods in the ClientHello message, aligning with RFC 8446 specifications.

Refactored the test code to improve modularity and maintainability, making it easier to extend and modify in the future.

Added checks for the appropriate alerts, ensuring that `SSL_AD_ILLEGAL_PARAMETER` or `SSL_AD_DECODE_ERROR` are correctly triggered as per the RFC 8446 guidelines.

Expanded Test Coverage: Introduced additional test cases to cover scenarios involving:
- Lists of unknown compression methods
- Absence of any compression method
- Validation of a single null compression method, which should always succeed.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25255)
2024-08-29 19:16:38 +02:00
..
perl Refactor and Enhance Compression Field Testing 2024-08-29 19:16:38 +02:00
platform_symbols For Unix, refactor OSSL_sleep() to use nanosleep() instead of usleep() 2024-05-22 09:59:32 +02:00
add-depends.pl Update copyright year 2022-05-03 13:34:51 +01:00
build.info Disable building quicserver utility when configured with no-apps option 2023-12-29 10:16:46 +01:00
c-compress-test.pl FIPS module checksums: add scripts and Makefile rule 2021-05-04 11:32:16 +02:00
cavs-to-evptest.pl
check-format-commit.sh Fix typos found by codespell 2024-08-07 19:09:43 +02:00
check-format-test-negatives.c check_format.pl: fix detection of 'if' with single stmt in braces without 'else' 2024-07-08 18:45:18 +02:00
check-format-test-positives.c check-format.pl: improve whitespace reporting on <op>= 2022-09-02 21:32:46 +02:00
check-format.pl Modify check-format to match line length coding style 2024-07-11 12:28:25 -04:00
check-malloc-errs
checkplatformsyms.pl Create a rudimentary symbol scanning script 2023-11-01 16:32:26 +01:00
ck_errf.pl
copy.pl
ctags.sh Fix new typos found by codespell 2023-06-18 16:53:09 +10:00
dofile.pl configdata.pm.in, util/dofile.pl: Make a HERE document stricter. 2020-10-27 10:17:19 +01:00
echo.pl always use the same perl in $PATH 2021-09-02 12:55:39 +10:00
engines.num
err-to-raise Simplify util/err-to-raise 2020-11-18 11:40:52 +01:00
find-doc-nits Copyright year updates 2023-09-07 09:59:15 +01:00
find-unused-errs
fips-checksums.sh always use the same perl in $PATH 2021-09-02 12:55:39 +10:00
fix-deprecation always use the same perl in $PATH 2021-09-02 12:55:39 +10:00
fix-includes Update copyright year 2020-04-23 13:55:52 +01:00
fix-includes.sed
help.pl Add "make help" option 2023-03-06 08:00:58 +11:00
indent.pro Removes record_queue struct which is no longer useful. 2024-02-16 16:33:14 +01:00
lang-compress.pl util: update FIPS checksumming script to be more aggressive with whitespace 2021-06-03 11:56:21 +10:00
libcrypto.num EVP_MD_size() updates 2024-08-29 10:29:53 +02:00
libssl.num adds TLS signature algorithms list feature 2024-08-13 11:48:54 +10:00
markdownlint.rb Adjust mdl configuration 2023-10-24 17:34:07 +01:00
merge-err-lines
missingcrypto111.txt Implementation of the RFC 9579, PBMAC1 in PKCS#12 - documentation 2024-08-07 10:00:16 +02:00
missingcrypto-internal.txt STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
missingcrypto.txt Implementation of the RFC 9579, PBMAC1 in PKCS#12 - documentation 2024-08-07 10:00:16 +02:00
missingmacro111.txt Document some SSL DH related functions/macros 2020-11-18 14:14:53 +00:00
missingmacro.txt BIO_s_dgram: add documentation and hazard warnings 2022-12-15 06:32:45 +00:00
missingssl111.txt
missingssl-internal.txt Initialize files that declare internal symbols 2020-04-11 15:51:43 +02:00
missingssl.txt Document the SSL_set_session_secret_cb() function 2024-05-06 10:44:22 +02:00
mk-fipsmodule-cnf.pl Cleanups for FIPS options.. 2024-08-28 14:46:16 +02:00
mkbuildinf.pl
mkdef.pl Copyright year updates 2024-04-09 13:43:26 +02:00
mkdir-p.pl Update copyright year 2021-04-08 13:04:41 +01:00
mkerr.pl fix: Have util/mkerr.pl comply better with our coding style 2024-08-21 10:55:59 +02:00
mkinstallvars.pl fix: for exporters to work for build config, there may be two include dirs 2024-08-27 17:20:12 +02:00
mknum.pl Ensure ordinals are created during release process 2021-06-29 09:51:30 +10:00
mkpod2html.pl Fix util/mkpod2html.pl to call pod2html with absolute paths 2021-09-21 11:05:53 +02:00
mkrc.pl util/mkrc.pl: Make sure FILEVERSION and PRODUCTVERSION have four numbers 2020-11-17 13:18:16 +01:00
mktar.sh Fix treatment of BUILD_METADATA 2022-12-08 07:01:33 +01:00
opensslwrap.sh
other-internal.syms Suppress errors about undocumented asn1_d2i_read_bio 2021-02-22 12:11:38 +00:00
other.syms Add documentation for deprecated CMAC_CTX functions 2024-07-10 09:46:24 +02:00
providers.num
quicserver.c QUIC CHANNEL: Consolidate forward object declarations in a single header 2023-12-21 08:11:59 +00:00
shlib_wrap.sh.in Add explicit support in util/shlib_wrap.sh.in for NonStop DLL loading. 2021-03-30 19:08:32 +02:00
su-filter.pl
update_abi_check.sh Update ci and ABI xml files to validate function parameters 2023-11-15 11:08:17 +01:00
withlibctx.pl Perl util to do with_libctx renaming 2020-10-01 09:23:05 +01:00
wrap.pl.in jitter: add a new provider containing a jitter entropy source alone 2024-07-31 14:44:51 +10:00
write-man-symlinks write-man-symlinks: Write relative symlinks not absolute 2021-05-25 17:14:09 +02:00