Lines Matching refs:X509_TRUST
64 static int tr_cmp(const X509_TRUST * const *a,
65 const X509_TRUST * const *b);
66 static void trtable_free(X509_TRUST *p);
68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
80 static X509_TRUST trstandard[] = {
91 #define X509_TRUST_COUNT (sizeof(trstandard)/sizeof(X509_TRUST))
93 IMPLEMENT_STACK_OF(X509_TRUST)
95 static STACK_OF(X509_TRUST) *trtable = NULL;
97 static int tr_cmp(const X509_TRUST * const *a, in tr_cmp()
98 const X509_TRUST * const *b) in tr_cmp()
114 X509_TRUST *pt; in X509_check_trust()
129 X509_TRUST * X509_TRUST_get0(int idx) in X509_TRUST_get0()
138 X509_TRUST tmp; in X509_TRUST_get_by_id()
159 int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), in X509_TRUST_add() argument
163 X509_TRUST *trtmp; in X509_TRUST_add()
172 if(!(trtmp = OPENSSL_malloc(sizeof(X509_TRUST)))) { in X509_TRUST_add()
210 static void trtable_free(X509_TRUST *p) in trtable_free()
229 int X509_TRUST_get_flags(X509_TRUST *xp) in X509_TRUST_get_flags()
234 char *X509_TRUST_get0_name(X509_TRUST *xp) in X509_TRUST_get0_name()
239 int X509_TRUST_get_trust(X509_TRUST *xp) in X509_TRUST_get_trust()
244 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags) in trust_1oidany()
254 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags) in trust_1oid()
260 static int trust_compat(X509_TRUST *trust, X509 *x, int flags) in trust_compat()