Home
last modified time | relevance | path

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

/openssl/test/
H A Dcmp_asn_test.c46 ASN1_INTEGER *asn1integer = ASN1_INTEGER_new(); in execute_cmp_asn1_get_int_test() local
50 if (!TEST_ptr(asn1integer)) in execute_cmp_asn1_get_int_test()
53 if (!TEST_true(ASN1_INTEGER_set(asn1integer, good_int))) { in execute_cmp_asn1_get_int_test()
54 ASN1_INTEGER_free(asn1integer); in execute_cmp_asn1_get_int_test()
57 res = TEST_int_eq(good_int, ossl_cmp_asn1_get_int(asn1integer)); in execute_cmp_asn1_get_int_test()
62 if (!TEST_true(ASN1_INTEGER_set_int64(asn1integer, max_int + 1))) in execute_cmp_asn1_get_int_test()
64 res = TEST_int_eq(-2, ossl_cmp_asn1_get_int(asn1integer)); in execute_cmp_asn1_get_int_test()
67 ASN1_INTEGER_free(asn1integer); in execute_cmp_asn1_get_int_test()

Completed in 4 milliseconds