Lines Matching refs:trtmp
182 X509_TRUST *trtmp; in X509_TRUST_add() local
195 if (!(trtmp = OPENSSL_malloc(sizeof(X509_TRUST)))) { in X509_TRUST_add()
199 trtmp->flags = X509_TRUST_DYNAMIC; in X509_TRUST_add()
201 trtmp = X509_TRUST_get0(idx); in X509_TRUST_add()
208 OPENSSL_free(trtmp); in X509_TRUST_add()
213 if (trtmp->flags & X509_TRUST_DYNAMIC_NAME) in X509_TRUST_add()
214 OPENSSL_free(trtmp->name); in X509_TRUST_add()
215 trtmp->name = name_dup; in X509_TRUST_add()
217 trtmp->flags &= X509_TRUST_DYNAMIC; in X509_TRUST_add()
219 trtmp->flags |= flags; in X509_TRUST_add()
221 trtmp->trust = id; in X509_TRUST_add()
222 trtmp->check_trust = ck; in X509_TRUST_add()
223 trtmp->arg1 = arg1; in X509_TRUST_add()
224 trtmp->arg2 = arg2; in X509_TRUST_add()
230 trtable_free(trtmp); in X509_TRUST_add()
233 if (!sk_X509_TRUST_push(trtable, trtmp)) { in X509_TRUST_add()
235 trtable_free(trtmp); in X509_TRUST_add()