From: Tomas Mraz Date: Mon, 10 Jul 2023 14:16:24 +0000 (+0200) Subject: quicapitest: Fix SSL_trace() test on big endian platforms X-Git-Tag: openssl-3.2.0-alpha1~469 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6bf1cbf1d48bd02f3fae2fb0bf922100efd0be5;p=thirdparty%2Fopenssl.git 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) --- 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;