Home
last modified time | relevance | path

Searched refs:asn1_time (Results 1 - 3 of 3) sorted by relevance

/third_party/openssl/test/
H A Dasn1_time_test.c326 ASN1_TIME *asn1_time = NULL; in test_time_dup() local
330 asn1_time = ASN1_TIME_adj(NULL, time(NULL), 0, 0); in test_time_dup()
331 if (asn1_time == NULL) { in test_time_dup()
336 asn1_gentime = ASN1_TIME_to_generalizedtime(asn1_time, NULL); in test_time_dup()
342 asn1_time_dup = ASN1_TIME_dup(asn1_time); in test_time_dup()
347 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup()
353 asn1_time_dup = ASN1_UTCTIME_dup(asn1_time); in test_time_dup()
358 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup()
376 ASN1_STRING_free(asn1_time); in test_time_dup()
/third_party/node/deps/openssl/openssl/crypto/ts/
H A Dts_rsp_sign.c533 ASN1_GENERALIZEDTIME *asn1_time = NULL; in ts_RESP_create_tst_info() local
551 || (asn1_time = in ts_RESP_create_tst_info()
554 || !TS_TST_INFO_set_time(tst_info, asn1_time)) in ts_RESP_create_tst_info()
601 ASN1_GENERALIZEDTIME_free(asn1_time); in ts_RESP_create_tst_info()
818 ASN1_GENERALIZEDTIME *asn1_time, long sec, long usec, in TS_RESP_set_genTime_with_precision()
871 if (asn1_time == NULL in TS_RESP_set_genTime_with_precision()
872 && (asn1_time = ASN1_GENERALIZEDTIME_new()) == NULL) in TS_RESP_set_genTime_with_precision()
874 if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) { in TS_RESP_set_genTime_with_precision()
875 ASN1_GENERALIZEDTIME_free(asn1_time); in TS_RESP_set_genTime_with_precision()
878 return asn1_time; in TS_RESP_set_genTime_with_precision()
817 TS_RESP_set_genTime_with_precision( ASN1_GENERALIZEDTIME *asn1_time, long sec, long usec, unsigned precision) TS_RESP_set_genTime_with_precision() argument
[all...]
/third_party/openssl/crypto/ts/
H A Dts_rsp_sign.c533 ASN1_GENERALIZEDTIME *asn1_time = NULL; in ts_RESP_create_tst_info() local
551 || (asn1_time = in ts_RESP_create_tst_info()
554 || !TS_TST_INFO_set_time(tst_info, asn1_time)) in ts_RESP_create_tst_info()
601 ASN1_GENERALIZEDTIME_free(asn1_time); in ts_RESP_create_tst_info()
818 ASN1_GENERALIZEDTIME *asn1_time, long sec, long usec, in TS_RESP_set_genTime_with_precision()
871 if (asn1_time == NULL in TS_RESP_set_genTime_with_precision()
872 && (asn1_time = ASN1_GENERALIZEDTIME_new()) == NULL) in TS_RESP_set_genTime_with_precision()
874 if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) { in TS_RESP_set_genTime_with_precision()
875 ASN1_GENERALIZEDTIME_free(asn1_time); in TS_RESP_set_genTime_with_precision()
878 return asn1_time; in TS_RESP_set_genTime_with_precision()
817 TS_RESP_set_genTime_with_precision( ASN1_GENERALIZEDTIME *asn1_time, long sec, long usec, unsigned precision) TS_RESP_set_genTime_with_precision() argument
[all...]

Completed in 4 milliseconds