projects
/
BearSSL
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2ec203
)
Fixed comment.
author
Thomas Pornin
<thomas.pornin@nccgroup.com>
Wed, 27 Jan 2021 14:34:56 +0000
(09:34 -0500)
committer
Thomas Pornin
<thomas.pornin@nccgroup.com>
Wed, 27 Jan 2021 14:34:56 +0000
(09:34 -0500)
src/ssl/ssl_rec_cbc.c
patch
|
blob
|
history
diff --git
a/src/ssl/ssl_rec_cbc.c
b/src/ssl/ssl_rec_cbc.c
index
c080604
..
c38cbfd
100644
(file)
--- a/
src/ssl/ssl_rec_cbc.c
+++ b/
src/ssl/ssl_rec_cbc.c
@@
-136,7
+136,7
@@
cbc_decrypt(br_sslrec_in_cbc_context *cc,
/*
* Use the last decrypted byte to compute the actual payload
/*
* Use the last decrypted byte to compute the actual payload
- * length. Take care not to
und
erflow (we use unsigned types).
+ * length. Take care not to
ov
erflow (we use unsigned types).
*/
pad_len = buf[max_len];
good = LE(pad_len, (uint32_t)(max_len - min_len));
*/
pad_len = buf[max_len];
good = LE(pad_len, (uint32_t)(max_len - min_len));