]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Minor updates
authorHugo Landau <hlandau@openssl.org>
Thu, 21 Mar 2024 10:51:06 +0000 (10:51 +0000)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 11 Sep 2024 08:35:22 +0000 (18:35 +1000)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

test/radix/README.md
test/radix/terp.c

index c38f9868815ca63f71a07cb76fdef54ed25fe334..f79a4d423003ecf2eb4bce0c1b505a4985b86ca1 100644 (file)
@@ -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:
 
index 151d133e4c027d3f720ecb3a5350f1be136f0953..e0a0f33b1c847627f6d2cc9c28140d8d6fa69cd4 100644 (file)
@@ -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;
     }