Lines Matching refs:v
111 ASN1_OCTET_STRING *v = NULL, *v2 = NULL; in test_distinguishing_id() local
118 v = ASN1_OCTET_STRING_new(); in test_distinguishing_id()
119 if (v == NULL) in test_distinguishing_id()
122 if (!ASN1_OCTET_STRING_set(v, (unsigned char *)distid, in test_distinguishing_id()
124 ASN1_OCTET_STRING_free(v); in test_distinguishing_id()
128 X509_set0_distinguishing_id(x, v); in test_distinguishing_id()
132 || !TEST_int_eq(ASN1_OCTET_STRING_cmp(v, v2), 0)) in test_distinguishing_id()
146 ASN1_OCTET_STRING *v = NULL, *v2 = NULL; in test_req_distinguishing_id() local
157 v = ASN1_OCTET_STRING_new(); in test_req_distinguishing_id()
158 if (v == NULL) in test_req_distinguishing_id()
161 if (!ASN1_OCTET_STRING_set(v, (unsigned char *)distid, in test_req_distinguishing_id()
163 ASN1_OCTET_STRING_free(v); in test_req_distinguishing_id()
167 X509_REQ_set0_distinguishing_id(x, v); in test_req_distinguishing_id()
171 || !TEST_int_eq(ASN1_OCTET_STRING_cmp(v, v2), 0)) in test_req_distinguishing_id()