diff options
author | 2019-10-23 07:36:29 +0000 | |
---|---|---|
committer | 2019-10-23 07:36:29 +0000 | |
commit | 05426bfc60976e859ee04b0136e5d350b1bad8b1 (patch) | |
tree | 9553d16270c21bfdcb76a8e4741c3d06a700ea78 /sys/dev/pci/drm/drm_linux.c | |
parent | Fix white spaces and use __func__ in printf(). (diff) | |
download | wireguard-openbsd-05426bfc60976e859ee04b0136e5d350b1bad8b1.tar.xz wireguard-openbsd-05426bfc60976e859ee04b0136e5d350b1bad8b1.zip |
Rewrite the time validity check for mfts. Using ASN1_GENERALIZEDTIME_print
and strptime to convert the timestamp does not correctly account for the
timezone. Instead use X509_cmp_time which later on should be replaced with
ASN1_time_tm_cmp since the ASN1_STRING_cmp() check at the end will fail
around 2049.
Problem with timezone reported by Alexandre Hamada (hamada at registro.br).
He also tested this diff.
OK tb@
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
0 files changed, 0 insertions, 0 deletions