From: Hugo Landau Date: Thu, 21 Mar 2024 10:51:06 +0000 (+0000) Subject: Minor updates X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9750a50ab6838539f75b994528f17e498c923b1;p=thirdparty%2Fopenssl.git Minor updates Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23487) --- diff --git a/test/radix/README.md b/test/radix/README.md index c38f9868815..f79a4d42300 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 151d133e4c0..e0a0f33b1c8 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; }