• Home
  • Raw
  • Download

Lines Matching refs:aux

87     if (!x->aux && !(x->aux = X509_CERT_AUX_new()))
89 return x->aux;
94 X509_CERT_AUX *aux; in X509_alias_set1() local
96 if (!x || !x->aux || !x->aux->alias) in X509_alias_set1()
98 ASN1_UTF8STRING_free(x->aux->alias); in X509_alias_set1()
99 x->aux->alias = NULL; in X509_alias_set1()
102 if (!(aux = aux_get(x))) in X509_alias_set1()
104 if (!aux->alias && !(aux->alias = ASN1_UTF8STRING_new())) in X509_alias_set1()
106 return ASN1_STRING_set(aux->alias, name, len); in X509_alias_set1()
111 X509_CERT_AUX *aux; in X509_keyid_set1() local
113 if (!x || !x->aux || !x->aux->keyid) in X509_keyid_set1()
115 ASN1_OCTET_STRING_free(x->aux->keyid); in X509_keyid_set1()
116 x->aux->keyid = NULL; in X509_keyid_set1()
119 if (!(aux = aux_get(x))) in X509_keyid_set1()
121 if (!aux->keyid && !(aux->keyid = ASN1_OCTET_STRING_new())) in X509_keyid_set1()
123 return ASN1_STRING_set(aux->keyid, id, len); in X509_keyid_set1()
128 if (!x->aux || !x->aux->alias) in X509_alias_get0()
131 *len = x->aux->alias->length; in X509_alias_get0()
132 return x->aux->alias->data; in X509_alias_get0()
137 if (!x->aux || !x->aux->keyid) in X509_keyid_get0()
140 *len = x->aux->keyid->length; in X509_keyid_get0()
141 return x->aux->keyid->data; in X509_keyid_get0()
149 X509_CERT_AUX *aux = aux_get(x); in X509_add1_trust_object() local
150 if (aux->trust == NULL) { in X509_add1_trust_object()
151 aux->trust = sk_ASN1_OBJECT_new_null(); in X509_add1_trust_object()
152 if (aux->trust == NULL) in X509_add1_trust_object()
155 if (!sk_ASN1_OBJECT_push(aux->trust, objtmp)) in X509_add1_trust_object()
169 X509_CERT_AUX *aux = aux_get(x); in X509_add1_reject_object() local
170 if (aux->reject == NULL) { in X509_add1_reject_object()
171 aux->reject = sk_ASN1_OBJECT_new_null(); in X509_add1_reject_object()
172 if (aux->reject == NULL) in X509_add1_reject_object()
175 if (!sk_ASN1_OBJECT_push(aux->reject, objtmp)) in X509_add1_reject_object()
186 if (x->aux && x->aux->trust) { in X509_trust_clear()
187 sk_ASN1_OBJECT_pop_free(x->aux->trust, ASN1_OBJECT_free); in X509_trust_clear()
188 x->aux->trust = NULL; in X509_trust_clear()
194 if (x->aux && x->aux->reject) { in X509_reject_clear()
195 sk_ASN1_OBJECT_pop_free(x->aux->reject, ASN1_OBJECT_free); in X509_reject_clear()
196 x->aux->reject = NULL; in X509_reject_clear()