Skip to content

Commit

Permalink
sslapitest: add cast to avoid compiler error
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22500)
  • Loading branch information
paulidale authored and mattcaswell committed Oct 25, 2023
1 parent d732991 commit 74efc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sslapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -11156,7 +11156,7 @@ static int test_data_retry(void)
goto end;

for (i = 0; i < sizeof(inbuf); i++)
inbuf[i] = i;
inbuf[i] = (unsigned char)(0xff & i);
memset(outbuf, 0, sizeof(outbuf));

if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
Expand Down

0 comments on commit 74efc54

Please sign in to comment.