openssl/test/helpers
Matt Caswell 1f365708a3 Fix test code to not assume NUL terminated strings
ASN.1 strings may not be NUL terminated. Don't assume they are.

CVE-2021-3712

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David Benjamin <davidben@google.com>
2021-08-24 14:22:06 +01:00
..
cmp_testlib.c Use the new ASN.1 libctx aware capabilities in CMP 2021-06-05 17:39:10 +10:00
cmp_testlib.h Use the new ASN.1 libctx aware capabilities in CMP 2021-06-05 17:39:10 +10:00
handshake_srp.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
handshake.c test: avoid memory leaks on errors 2021-06-26 11:33:52 +10:00
handshake.h Update copyright year 2021-02-18 15:05:17 +00:00
pkcs12.c Fix test code to not assume NUL terminated strings 2021-08-24 14:22:06 +01:00
pkcs12.h Update copyright year 2021-05-06 13:03:23 +01:00
predefined_dhparams.c Replace OSSL_PARAM_BLD_free_params() with OSSL_PARAM_free(). 2021-04-12 16:55:30 +10:00
predefined_dhparams.h
ssl_test_ctx.c Move AllowClientRenegotiation tests 2021-06-15 12:36:51 +02:00
ssl_test_ctx.h Update copyright year 2021-01-28 13:54:57 +01:00
ssltestlib.c Refactor KTLS tests to better support TLS 1.3. 2021-06-21 09:28:43 +02:00
ssltestlib.h