• Home
  • Raw
  • Download

Lines Matching refs:policy

79     if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)  in i2r_pci()
81 pci->proxyPolicy->policy->length, in i2r_pci()
82 pci->proxyPolicy->policy->data); in i2r_pci()
88 ASN1_OCTET_STRING **policy) in process_pci_value() argument
121 if (!*policy) { in process_pci_value()
122 *policy = ASN1_OCTET_STRING_new(); in process_pci_value()
123 if (*policy == NULL) { in process_pci_value()
139 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
140 (*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()
153 OPENSSL_free((*policy)->data); in process_pci_value()
154 (*policy)->data = NULL; in process_pci_value()
155 (*policy)->length = 0; in process_pci_value()
175 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
176 (*policy)->length + n + 1); in process_pci_value()
179 OPENSSL_free((*policy)->data); in process_pci_value()
180 (*policy)->data = NULL; in process_pci_value()
181 (*policy)->length = 0; in process_pci_value()
189 (*policy)->data = tmp_data; in process_pci_value()
190 memcpy(&(*policy)->data[(*policy)->length], buf, n); in process_pci_value()
191 (*policy)->length += n; in process_pci_value()
192 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value()
203 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
204 (*policy)->length + val_len + 1); in process_pci_value()
206 (*policy)->data = tmp_data; in process_pci_value()
207 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value()
209 (*policy)->length += val_len; in process_pci_value()
210 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value()
216 OPENSSL_free((*policy)->data); in process_pci_value()
217 (*policy)->data = NULL; in process_pci_value()
218 (*policy)->length = 0; in process_pci_value()
238 ASN1_OCTET_STRING_free(*policy); in process_pci_value()
239 *policy = NULL; in process_pci_value()
251 ASN1_OCTET_STRING *policy = NULL; in r2i_pci() local
276 &language, &pathlen, &policy); in r2i_pci()
282 if (!process_pci_value(cnf, &language, &pathlen, &policy)) { in r2i_pci()
296 if ((i == NID_Independent || i == NID_id_ppl_inheritAll) && policy) { in r2i_pci()
310 pci->proxyPolicy->policy = policy; in r2i_pci()
311 policy = NULL; in r2i_pci()
319 ASN1_OCTET_STRING_free(policy); in r2i_pci()
320 policy = NULL; in r2i_pci()