summaryrefslogtreecommitdiff
path: root/tests/data/test1620
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-14 16:20:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-14 16:20:47 +0200
commit33fd5a11c19f97d6d0cbf2c33a44110efdf2f4c5 (patch)
treec4cf6d0029da6b3eefbe4665a120b4dba6277ecf /tests/data/test1620
parent352b07fccec8f15e976f66a8d409751f7c49493c (diff)
downloadcurl-bagder/hsts-unlimited.tar.gz
hsts: handle unlimited expirybagder/hsts-unlimited
When setting a blank expire string, meaning unlimited, curl would pass TIME_T_MAX to getime_r() when creating the output, while on 64 bit systems such a large value cannot be convetered to a tm struct making curl to exit the loop with an error instead. Starting now, unlimited expiry is instead handled differently by using a human readable expiry date spelled out as "unlimited" instead of trying to use a distant actual date. Test 1660 and 1915 have been updated to help verify this change. Reported-by: Jonathan Cardoso Fixes #7720
Diffstat (limited to 'tests/data/test1620')
0 files changed, 0 insertions, 0 deletions