Home
last modified time | relevance | path

Searched refs:timestamp_asn1 (Results 1 – 1 of 1) sorted by relevance

/openssl/test/testutil/
H A Dhelper.c28 ASN1_TIME *timestamp_asn1 = NULL; in test_asn1_string_to_time_t() local
37 timestamp_asn1 = ASN1_TIME_new(); in test_asn1_string_to_time_t()
38 if(timestamp_asn1 == NULL) in test_asn1_string_to_time_t()
40 if (!ASN1_TIME_set_string(timestamp_asn1, asn1_string)) in test_asn1_string_to_time_t()
42 ASN1_TIME_free(timestamp_asn1); in test_asn1_string_to_time_t()
48 ASN1_TIME_free(timestamp_asn1); in test_asn1_string_to_time_t()
51 if (!(ASN1_TIME_to_tm(timestamp_asn1, timestamp_tm))) { in test_asn1_string_to_time_t()
53 ASN1_TIME_free(timestamp_asn1); in test_asn1_string_to_time_t()
56 ASN1_TIME_free(timestamp_asn1); in test_asn1_string_to_time_t()

Completed in 3 milliseconds