openssl/crypto/asn1
Todd Short 20ee2bf138 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)
2017-05-02 10:38:54 +02:00
..
a_bitstr.c Avoid calling memcpy with lenght of 0 2016-05-27 21:01:12 +02:00
a_d2i_fp.c Check for overflows in EOC. 2016-06-04 13:54:49 +01:00
a_digest.c Combined patch against master branch for the following issues: 2017-02-03 20:39:52 +01:00
a_dup.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_gentm.c Fix time offset calculation. 2017-05-02 10:38:54 +02:00
a_i2d_fp.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_int.c asn1/a_int.c: fix "next negative minimum" corner case in c2i_ibuf. 2017-04-30 15:17:03 +02:00
a_mbstr.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_object.c Check for errors in a2d_ASN1_OBJECT() 2016-08-16 00:19:19 +01:00
a_octet.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_print.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_sign.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_strex.c Fix strict-warnings build 2016-10-18 17:09:47 +01:00
a_strnid.c Convert asn1 selftests (a_strnid and ameth_lib) into internal test 2016-11-03 13:13:31 +01:00
a_time.c Fix potential memory leak in ASN1_TIME_to_generalizedtime() 2017-02-23 17:14:48 -05:00
a_type.c Fix embedded string handling. 2016-10-17 14:34:00 +01:00
a_utctm.c Fix time offset calculation. 2017-05-02 10:38:54 +02:00
a_utf8.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
a_verify.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
ameth_lib.c Convert asn1 selftests (a_strnid and ameth_lib) into internal test 2016-11-03 13:13:31 +01:00
asn1_err.c make update 2017-04-04 11:29:23 +02:00
asn1_gen.c Constify ASN1_generate_nconf 2016-06-04 21:30:41 -04:00
asn1_item_list.c Fix config option 'no-deprecated' 2016-10-19 12:11:56 +02:00
asn1_item_list.h Act on deprecation of LONG and ZLONG, step 1 2017-04-10 12:11:00 +02:00
asn1_lib.c Fix embedded string handling. 2016-10-17 14:34:00 +01:00
asn1_locl.h Implement internal ASN.1 types INT32, UINT32, INT64, UINT64 2017-04-04 11:29:23 +02:00
asn1_par.c Fix 0 -> NULL, indentation 2017-03-28 16:16:49 -04:00
asn_mime.c Ensure the mime_hdr_free function can handle NULLs 2016-08-23 00:19:15 +01:00
asn_moid.c Constify some input buffers in asn1 2016-06-15 13:22:38 -04:00
asn_mstbl.c Constify some input buffers in asn1 2016-06-15 13:22:38 -04:00
asn_pack.c Constify ASN1_item_unpack(). 2016-08-17 12:01:29 +01:00
bio_asn1.c Exit the loop on failure 2017-03-09 09:26:13 -05:00
bio_ndef.c Add more zalloc 2016-05-29 01:36:11 +02:00
build.info Implement internal ASN.1 types INT32, UINT32, INT64, UINT64 2017-04-04 11:29:23 +02:00
charmap.h Add nameConstraints commonName checking. 2016-07-11 23:30:04 +01:00
charmap.pl Add nameConstraints commonName checking. 2016-07-11 23:30:04 +01:00
d2i_pr.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
d2i_pu.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
evp_asn1.c ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
f_int.c Fix a slightly confusing if condition in a2i_ASN1_INTEGER. 2017-02-17 09:54:25 -05:00
f_string.c Constify i2a* 2016-08-18 17:20:36 +01:00
i2d_pr.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
i2d_pu.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
n_pkey.c ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
nsseq.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
p5_pbe.c Add ASN1_STRING_get0_data(), deprecate ASN1_STRING_data(). 2016-08-16 16:05:35 +01:00
p5_pbev2.c Clean one unused variable, plus an useless one. 2017-01-18 15:19:24 +01:00
p5_scrypt.c Clean one unused variable, plus an useless one. 2017-01-18 15:19:24 +01:00
p8_pkey.c Constify private key decode. 2016-08-17 12:01:29 +01:00
standard_methods.h Add support for parameterized SipHash 2017-02-01 14:14:36 -05:00
t_bitst.c Constify some input buffers in asn1 2016-06-15 13:22:38 -04:00
t_pkey.c Constify ASN1_buf_print 2016-07-25 08:20:00 -04:00
t_spki.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
tasn_dec.c Don't set choice selector on parse failure. 2016-11-10 13:04:11 +00:00
tasn_enc.c Check for overlows and error return from ASN1_object_size() 2016-08-02 13:40:32 +01:00
tasn_fre.c ASN.1: extend the possibilities to embed data instead of pointers 2017-04-13 10:23:31 +02:00
tasn_new.c ASN.1: extend the possibilities to embed data instead of pointers 2017-04-13 10:23:31 +02:00
tasn_prn.c Print <ABSENT> if a STACK is NULL. 2016-09-29 16:21:46 +01:00
tasn_scn.c Add more zalloc 2016-05-29 01:36:11 +02:00
tasn_typ.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
tasn_utl.c Rework error handling from asn1_do_lock method. 2016-06-23 14:00:47 +01:00
tbl_standard.h Annotate ASN.1 attributes of the jurisdictionCountryName NID 2017-04-24 03:29:45 +02:00
x_algor.c constify X509_ALGOR_get0() 2016-08-17 12:01:29 +01:00
x_bignum.c Fix print of ASN.1 BIGNUM type. 2016-07-18 17:53:05 +01:00
x_info.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
x_int64.c ASN.1: change INTxx, UINTxx and Z variants to be embedable 2017-04-13 10:23:31 +02:00
x_long.c Discourage the use of LONG and ZLONG, and deprecate it in the future 2017-04-10 12:11:00 +02:00
x_pkey.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x_sig.c Add X509_getm_notBefore, X509_getm_notAfter 2016-08-21 18:25:23 +01:00
x_spki.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
x_val.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00