summaryrefslogtreecommitdiffstats
path: root/crypto/objects/objects.txt
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-08 22:41:10 +0000
committerMatt Caswell <matt@openssl.org>2015-02-10 22:54:18 +0000
commitea6bd2645431a064394c746fba7013950ea04f78 (patch)
tree91c4a96068be1afe76d32b40388b1fd7b5c031f8 /crypto/objects/objects.txt
parentf2baac27d5f95326fa441e1cb08925b46f88b21c (diff)
Correct reading back of tlsext_tick_lifetime_hint from ASN1.
When writing out the hint, if the hint > 0, then we write it out otherwise we skip it. Previously when reading the hint back in, if were expecting to see one (because the ticket length > 0), but it wasn't present then we set the hint to -1, otherwise we set it to 0. This fails to set the hint to the same as when it was written out. The hint should never be negative because the RFC states the hint is unsigned. It is valid for a server to set the hint to 0 (this means the lifetime is unspecified according to the RFC). If the server set it to 0, it should still be 0 when we read it back in. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/objects/objects.txt')
0 files changed, 0 insertions, 0 deletions