Skip to content

Commit 6105635

Browse files
Merge branch 'master' of https://www.bearssl.org/git/BearSSL
2 parents c0b69df + 79b1a99 commit 6105635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ssl/ssl_rec_cbc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ cbc_decrypt(br_sslrec_in_cbc_context *cc,
136136

137137
/*
138138
* Use the last decrypted byte to compute the actual payload
139-
* length. Take care not to underflow (we use unsigned types).
139+
* length. Take care not to overflow (we use unsigned types).
140140
*/
141141
pad_len = buf[max_len];
142142
good = LE(pad_len, (uint32_t)(max_len - min_len));

0 commit comments

Comments
 (0)