summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-03-21 10:51:06 +0000
committerHugo Landau <hlandau@openssl.org>2024-04-19 09:31:06 +0100
commitce9e51feb155fd405f4cfd1433036fae42810fa1 (patch)
tree61ea0177932f5d9faa84013de912c1e7d7d90c4b
parent4874776c9b3012af920f01365270edee962b8c4d (diff)
Minor updates
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23487)
-rw-r--r--test/radix/README.md2
-rw-r--r--test/radix/terp.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/radix/README.md b/test/radix/README.md
index c38f986881..f79a4d4230 100644
--- a/test/radix/README.md
+++ b/test/radix/README.md
@@ -18,7 +18,7 @@ test vignettes for network protocol testing applications. While it is currently
used for QUIC, it has been designed to be agnostic so that it can be adapted to
other protocols in future if desired.
-In particular, unilke the older multistream test framework, it does not assume a
+In particular, unlike the older multistream test framework, it does not assume a
single client and a single server. Examples of vignettes designed to be
supported by the RADIX test framework in future include:
diff --git a/test/radix/terp.c b/test/radix/terp.c
index 151d133e4c..e0a0f33b1c 100644
--- a/test/radix/terp.c
+++ b/test/radix/terp.c
@@ -637,7 +637,7 @@ static ossl_inline int TERP_stk_pop(TERP *terp,
static void TERP_print_stack(TERP *terp, BIO *bio, const char *header)
{
test_output_memory(header, terp->stk_cur, terp->stk_end - terp->stk_cur);
- BIO_printf(bio, " (%zu bytes)\n", terp->stk_end - terp->stk_cur);
+ BIO_printf(bio, " (%zu bytes)\n", (size_t)(terp->stk_end - terp->stk_cur));
BIO_printf(bio, "\n");
}
@@ -859,7 +859,7 @@ static int TERP_run(SCRIPT_INFO *script_info, TERP_CONFIG *cfg)
if (terp.stk_end - terp.stk_cur != 0) {
TEST_error("stack not empty: %zu bytes left",
- terp.stk_end - terp.stk_cur);
+ (size_t)(terp.stk_end - terp.stk_cur));
goto err;
}