diff options
author | tb <> | 2020-03-16 15:11:35 +0000 |
---|---|---|
committer | tb <> | 2020-03-16 15:11:35 +0000 |
commit | 108f8702aed150676e48a7a8233559c84c82b07f (patch) | |
tree | 6a053ff9c6b2a4df1c707c9d61c1f161618cff0c /src/lib/libcrypto/man/ERR_print_errors.3 | |
parent | 96cf222f202447895d0d051a4c795f157e301e07 (diff) | |
download | openbsd-108f8702aed150676e48a7a8233559c84c82b07f.tar.gz openbsd-108f8702aed150676e48a7a8233559c84c82b07f.tar.bz2 openbsd-108f8702aed150676e48a7a8233559c84c82b07f.zip |
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
Diffstat (limited to 'src/lib/libcrypto/man/ERR_print_errors.3')
0 files changed, 0 insertions, 0 deletions