Avoid issues with endianness when type is used in SSL_trace()
[openssl.git] / ssl / record / record.h
index 7dcbbb36e90dd981434d22ab4bdf49dd10b2a6ad..a8fa6833e90f82b6d172ee99ddde0acf9f56aec9 100644 (file)
@@ -22,7 +22,7 @@
 typedef struct tls_record_st {
     void *rechandle;
     int version;
-    int type;
+    uint8_t type;
     /* The data buffer containing bytes from the record */
     const unsigned char *data;
     /*