Lines Matching refs:trust
18 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
19 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
20 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
54 return (*a)->trust - (*b)->trust; in tr_cmp()
57 int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *, in X509_TRUST_set_default()
61 default_trust = trust; in X509_TRUST_set_default()
107 tmp.trust = id; in X509_TRUST_get_by_id()
116 int X509_TRUST_set(int *t, int trust) in X509_TRUST_set() argument
118 if (X509_TRUST_get_by_id(trust) < 0) { in X509_TRUST_set()
122 *t = trust; in X509_TRUST_set()
158 trtmp->trust = id; in X509_TRUST_add()
213 return xp->trust; in X509_TRUST_get_trust()
216 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags) in trust_1oidany() argument
225 return obj_trust(trust->arg1, x, flags); in trust_1oidany()
228 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags) in trust_1oid() argument
236 return obj_trust(trust->arg1, x, flags); in trust_1oid()
239 static int trust_compat(X509_TRUST *trust, X509 *x, int flags) in trust_compat() argument
266 if (ax != NULL && ax->trust != NULL) { in obj_trust()
267 for (i = 0; i < sk_ASN1_OBJECT_num(ax->trust); i++) { in obj_trust()
268 ASN1_OBJECT *obj = sk_ASN1_OBJECT_value(ax->trust, i); in obj_trust()