]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix early_data age calculation
authorMatt Caswell <matt@openssl.org>
Mon, 27 Feb 2023 11:18:26 +0000 (11:18 +0000)
committerPauli <pauli@openssl.org>
Wed, 1 Mar 2023 02:04:14 +0000 (13:04 +1100)
commit0513a38364a7a45c946fdd8f7d87b8a3ae01ffbb
treeaf7d78d148f354dcf3067d00b9913fa12f8f0aca
parent3307338e26862070eaacad6ec7537a63a63b8a90
Fix early_data age calculation

The ticket_age/age_add values use ms granualarity. We were incorrectly
treating them as seconds and so the ticket was always being rejected for
early data. We also clarify a comment which could have been the source of
the confusion.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20387)
ssl/statem/extensions_srvr.c