diff options
author | Maxim Fedorov <[email protected]> | 2018-10-17 20:30:12 -0700 |
---|---|---|
committer | Maxim Fedorov <[email protected]> | 2018-10-26 07:54:01 -0700 |
commit | dabb85ceb5ef9d7bf3705bab854ecdbf0d6f538b (patch) | |
tree | a4b974fdc1440afba005bc9f17bbef0b7d9a01bd /scripts/diffable | |
parent | d9682b02b81fa6e23e554b6e017650eb89ecebed (diff) | |
download | otp-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