summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/ERR_print_errors.3
diff options
context:
space:
mode:
authortb <>2020-03-16 15:11:35 +0000
committertb <>2020-03-16 15:11:35 +0000
commit108f8702aed150676e48a7a8233559c84c82b07f (patch)
tree6a053ff9c6b2a4df1c707c9d61c1f161618cff0c /src/lib/libcrypto/man/ERR_print_errors.3
parent96cf222f202447895d0d051a4c795f157e301e07 (diff)
downloadopenbsd-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