Lines Matching refs:policy
69 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci()
71 pci->proxyPolicy->policy->data); in i2r_pci()
77 ASN1_OCTET_STRING **policy) in process_pci_value() argument
115 if (!*policy) in process_pci_value()
117 *policy = ASN1_OCTET_STRING_new(); in process_pci_value()
118 if (!*policy) in process_pci_value()
138 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
139 (*policy)->length + val_len + 1); in process_pci_value()
142 (*policy)->data = tmp_data; in process_pci_value()
143 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value()
145 (*policy)->length += val_len; in process_pci_value()
146 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value()
152 (*policy)->data = NULL; in process_pci_value()
153 (*policy)->length = 0; in process_pci_value()
176 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
177 (*policy)->length + n + 1); in process_pci_value()
182 (*policy)->data = tmp_data; in process_pci_value()
183 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value()
185 (*policy)->length += n; in process_pci_value()
186 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value()
200 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
201 (*policy)->length + val_len + 1); in process_pci_value()
204 (*policy)->data = tmp_data; in process_pci_value()
205 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value()
207 (*policy)->length += val_len; in process_pci_value()
208 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value()
213 (*policy)->data = NULL; in process_pci_value()
214 (*policy)->length = 0; in process_pci_value()
237 ASN1_OCTET_STRING_free(*policy); in process_pci_value()
238 *policy = NULL; in process_pci_value()
250 ASN1_OCTET_STRING *policy = NULL; in r2i_pci() local
279 &language, &pathlen, &policy); in r2i_pci()
288 &language, &pathlen, &policy)) in r2i_pci()
303 if ((i == NID_Independent || i == NID_id_ppl_inheritAll) && policy) in r2i_pci()
317 pci->proxyPolicy->policy = policy; policy = NULL; in r2i_pci()
323 if (policy) { ASN1_OCTET_STRING_free(policy); policy = NULL; } in r2i_pci()