]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/internal/recordmethod.h
Avoid issues with endianness when type is used in SSL_trace()
[thirdparty/openssl.git] / include / internal / recordmethod.h
index 247c24f032440c0a81674b5dd3d0eddc2ee76246..c49b5da4ee5b452fb745eb878164d5c2a20a2153 100644 (file)
@@ -232,7 +232,7 @@ struct ossl_record_method_st {
      * multiple records in one go and buffer them.
      */
     int (*read_record)(OSSL_RECORD_LAYER *rl, void **rechandle, int *rversion,
-                      int *type, const unsigned char **data, size_t *datalen,
+                      uint8_t *type, const unsigned char **data, size_t *datalen,
                       uint16_t *epoch, unsigned char *seq_num);
     /*
      * Release length bytes from a buffer associated with a record previously