]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
quicapitest: Fix SSL_trace() test on big endian platforms
authorTomas Mraz <tomas@openssl.org>
Mon, 10 Jul 2023 14:16:24 +0000 (16:16 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 14 Jul 2023 09:51:48 +0000 (11:51 +0200)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21411)

include/internal/recordmethod.h

index a9823e43e4070aa99cb7145be72c4c7166594ad2..247c24f032440c0a81674b5dd3d0eddc2ee76246 100644 (file)
@@ -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;