CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2020/03/16 09:11:35

Modified files:
        lib/libssl     : tls13_record_layer.c 

Log message:
The RFC is clear (section 5.3) that sequence number should never wrap.
We currently throw an error on overflow, but still wrap. Check up front
if we would need to wrap and only increment if that case is excluded.
This simplifies the increment loop and makes the returns in this function
less magic.

ok jsing

Reply via email to