Lines Matching refs:asn1_time_dup
378 ASN1_TIME *asn1_time_dup = NULL; in test_time_dup() local
393 asn1_time_dup = ASN1_TIME_dup(asn1_time); in test_time_dup()
394 if (!TEST_ptr_ne(asn1_time_dup, NULL)) { in test_time_dup()
398 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup()
402 ASN1_STRING_free(asn1_time_dup); in test_time_dup()
404 asn1_time_dup = ASN1_UTCTIME_dup(asn1_time); in test_time_dup()
405 if (!TEST_ptr_ne(asn1_time_dup, NULL)) { in test_time_dup()
409 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup()
413 ASN1_STRING_free(asn1_time_dup); in test_time_dup()
415 asn1_time_dup = ASN1_GENERALIZEDTIME_dup(asn1_gentime); in test_time_dup()
416 if (!TEST_ptr_ne(asn1_time_dup, NULL)) { in test_time_dup()
420 if (!TEST_int_eq(ASN1_TIME_compare(asn1_gentime, asn1_time_dup), 0)) { in test_time_dup()
429 ASN1_STRING_free(asn1_time_dup); in test_time_dup()