Fixed comment.
authorThomas Pornin <thomas.pornin@nccgroup.com>
Wed, 27 Jan 2021 14:34:56 +0000 (09:34 -0500)
committerThomas Pornin <thomas.pornin@nccgroup.com>
Wed, 27 Jan 2021 14:34:56 +0000 (09:34 -0500)
src/ssl/ssl_rec_cbc.c

index c080604..c38cbfd 100644 (file)
@@ -136,7 +136,7 @@ cbc_decrypt(br_sslrec_in_cbc_context *cc,
 
        /*
         * Use the last decrypted byte to compute the actual payload
-        * length. Take care not to underflow (we use unsigned types).
+        * length. Take care not to overflow (we use unsigned types).
         */
        pad_len = buf[max_len];
        good = LE(pad_len, (uint32_t)(max_len - min_len));