diff options
author | Todd Short <tshort@akamai.com> | 2017-02-16 16:08:02 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-02 10:38:54 +0200 |
commit | 20ee2bf138323c6688b6e8d71d695cf2bd53f857 (patch) | |
tree | 2b648a3a5c8d1c62ab9607166691db7f5397db14 /apps/apps.h | |
parent | ee6b68ce4c67870f9323d2a380eb949f447c56ee (diff) |
Fix time offset calculation.
ASN1_GENERALIZEDTIME and ASN1_UTCTIME may be specified using offsets,
even though that's not supported within certificates.
To convert the offset time back to GMT, the offsets are supposed to be
subtracted, not added. e.g. 1759-0500 == 2359+0100 == 2259Z.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2654)
Diffstat (limited to 'apps/apps.h')
0 files changed, 0 insertions, 0 deletions