summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-08-24 10:34:53 +0200
committerHugo Landau <hlandau@openssl.org>2023-08-25 12:04:00 +0100
commiteb1eaa9af4c241baea00cb16557f41811ed9e097 (patch)
treef2fa9859946cd0f6b610f1602f14e8b091f6e616 /test
parent86051eb2bb86e3a89e69abfb6419409aa701bcf7 (diff)
Always use uint8_t for TLS record type
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21823)
Diffstat (limited to 'test')
-rw-r--r--test/recordlentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recordlentest.c b/test/recordlentest.c
index c693b08913..d46b75f686 100644
--- a/test/recordlentest.c
+++ b/test/recordlentest.c
@@ -24,7 +24,7 @@ static char *privkey = NULL;
#define TOTAL_RECORD_OVERFLOW_TESTS 6
-static int write_record(BIO *b, size_t len, int rectype, int recversion)
+static int write_record(BIO *b, size_t len, uint8_t rectype, int recversion)
{
unsigned char header[SSL3_RT_HEADER_LENGTH];
size_t written;