Lines Matching refs:policy
69 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)
71 pci->proxyPolicy->policy->data);
77 ASN1_OCTET_STRING **policy)
111 else if (strcmp(val->name, "policy") == 0)
115 if (!*policy)
117 *policy = ASN1_OCTET_STRING_new();
118 if (!*policy)
133 tmp_data = OPENSSL_realloc((*policy)->data,
134 (*policy)->length + val_len + 1);
137 (*policy)->data = tmp_data;
138 memcpy(&(*policy)->data[(*policy)->length],
140 (*policy)->length += val_len;
141 (*policy)->data[(*policy)->length] = '\0';
160 tmp_data = OPENSSL_realloc((*policy)->data,
161 (*policy)->length + n + 1);
166 (*policy)->data = tmp_data;
167 memcpy(&(*policy)->data[(*policy)->length],
169 (*policy)->length += n;
170 (*policy)->data[(*policy)->length] = '\0';
183 tmp_data = OPENSSL_realloc((*policy)->data,
184 (*policy)->length + val_len + 1);
187 (*policy)->data = tmp_data;
188 memcpy(&(*policy)->data[(*policy)->length],
190 (*policy)->length += val_len;
191 (*policy)->data[(*policy)->length] = '\0';
211 ASN1_OCTET_STRING_free(*policy);
212 *policy = NULL;
224 ASN1_OCTET_STRING *policy = NULL;
253 &language, &pathlen, &policy);
262 &language, &pathlen, &policy))
277 if ((i == NID_Independent || i == NID_id_ppl_inheritAll) && policy)
297 pci->proxyPolicy->policy = policy; policy = NULL;
303 if (policy) { ASN1_OCTET_STRING_free(policy); policy = NULL; }