aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/diffable
diff options
context:
space:
mode:
authorMaxim Fedorov <[email protected]>2018-10-17 20:30:12 -0700
committerMaxim Fedorov <[email protected]>2018-10-26 07:54:01 -0700
commitdabb85ceb5ef9d7bf3705bab854ecdbf0d6f538b (patch)
treea4b974fdc1440afba005bc9f17bbef0b7d9a01bd /scripts/diffable
parentd9682b02b81fa6e23e554b6e017650eb89ecebed (diff)
downloadotp-dabb85ceb5ef9d7bf3705bab854ecdbf0d6f538b.tar.gz
otp-dabb85ceb5ef9d7bf3705bab854ecdbf0d6f538b.tar.bz2
otp-dabb85ceb5ef9d7bf3705bab854ecdbf0d6f538b.zip
ssl: fix timezone-related bug in ssl_pem_cache
Caught with unit test in ssl_pem_cache_SUITE. When local timezone is PST (Pacific Standard Time), PEM cache was not evicting expired entries due to file time converstion was done using calendar:now_to_datetime, while file modification time is actually in local time. Use os:system_time() to align with file_info modified time.
Diffstat (limited to 'scripts/diffable')
0 files changed, 0 insertions, 0 deletions