Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #23487)
  • Loading branch information
hlandau committed Apr 19, 2024
1 parent 4874776 commit ce9e51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/radix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions test/radix/terp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ce9e51f

Please sign in to comment.