From b6bf1cbf1d48bd02f3fae2fb0bf922100efd0be5 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 10 Jul 2023 16:16:24 +0200 Subject: [PATCH] quicapitest: Fix SSL_trace() test on big endian platforms Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21411) --- include/internal/recordmethod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/recordmethod.h b/include/internal/recordmethod.h index a9823e43e40..247c24f0324 100644 --- a/include/internal/recordmethod.h +++ b/include/internal/recordmethod.h @@ -63,7 +63,7 @@ typedef struct ossl_record_layer_st OSSL_RECORD_LAYER; * buffer of payload data in |buf| of length |buflen|. */ struct ossl_record_template_st { - int type; + unsigned char type; unsigned int version; const unsigned char *buf; size_t buflen; -- 2.47.2