diff options
author | Pauli <pauli@openssl.org> | 2023-10-25 18:30:39 +1100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-10-25 09:36:36 +0100 |
commit | 74efc5477c8a78ca80187a1332e5b89ce5ed6c16 (patch) | |
tree | 88af266e55f6c252dd8562aa44134ab136be7cf4 | |
parent | d73299136ef85d83b221364201619e7342523ad7 (diff) |
sslapitest: add cast to avoid compiler error
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22500)
-rw-r--r-- | test/sslapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 2fbe76f979..94eab9981d 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -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(), |