ssl: upgarde to uint32 for bytes_processed

as it can overflow, and is compared with uint32 such as
message_length and message_start and
pull/5627/head
Philippe Antoine 5 years ago committed by Victor Julien
parent 445e03d752
commit 48f0c612e3

@ -193,7 +193,7 @@ typedef struct SSLStateConnp_ {
uint32_t handshake_length; uint32_t handshake_length;
/* the no of bytes processed in the currently parsed record */ /* the no of bytes processed in the currently parsed record */
uint16_t bytes_processed; uint32_t bytes_processed;
/* the no of bytes processed in the currently parsed handshake */ /* the no of bytes processed in the currently parsed handshake */
uint16_t hs_bytes_processed; uint16_t hs_bytes_processed;

Loading…
Cancel
Save