Lines Matching refs:ret
39 X509 *ret = (X509 *)*pval; in x509_cb() local
44 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb()
45 X509_CERT_AUX_free(ret->aux); in x509_cb()
46 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
47 AUTHORITY_KEYID_free(ret->akid); in x509_cb()
48 CRL_DIST_POINTS_free(ret->crldp); in x509_cb()
49 ossl_policy_cache_free(ret->policy_cache); in x509_cb()
50 GENERAL_NAMES_free(ret->altname); in x509_cb()
51 NAME_CONSTRAINTS_free(ret->nc); in x509_cb()
53 sk_IPAddressFamily_pop_free(ret->rfc3779_addr, IPAddressFamily_free); in x509_cb()
54 ASIdentifiers_free(ret->rfc3779_asid); in x509_cb()
56 ASN1_OCTET_STRING_free(ret->distinguishing_id); in x509_cb()
61 ret->ex_cached = 0; in x509_cb()
62 ret->ex_kusage = 0; in x509_cb()
63 ret->ex_xkusage = 0; in x509_cb()
64 ret->ex_nscert = 0; in x509_cb()
65 ret->ex_flags = 0; in x509_cb()
66 ret->ex_pathlen = -1; in x509_cb()
67 ret->ex_pcpathlen = -1; in x509_cb()
68 ret->skid = NULL; in x509_cb()
69 ret->akid = NULL; in x509_cb()
70 ret->policy_cache = NULL; in x509_cb()
71 ret->altname = NULL; in x509_cb()
72 ret->nc = NULL; in x509_cb()
74 ret->rfc3779_addr = NULL; in x509_cb()
75 ret->rfc3779_asid = NULL; in x509_cb()
77 ret->distinguishing_id = NULL; in x509_cb()
78 ret->aux = NULL; in x509_cb()
79 ret->crldp = NULL; in x509_cb()
80 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data)) in x509_cb()
85 CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509, ret, &ret->ex_data); in x509_cb()
86 X509_CERT_AUX_free(ret->aux); in x509_cb()
87 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
88 AUTHORITY_KEYID_free(ret->akid); in x509_cb()
89 CRL_DIST_POINTS_free(ret->crldp); in x509_cb()
90 ossl_policy_cache_free(ret->policy_cache); in x509_cb()
91 GENERAL_NAMES_free(ret->altname); in x509_cb()
92 NAME_CONSTRAINTS_free(ret->nc); in x509_cb()
94 sk_IPAddressFamily_pop_free(ret->rfc3779_addr, IPAddressFamily_free); in x509_cb()
95 ASIdentifiers_free(ret->rfc3779_asid); in x509_cb()
97 ASN1_OCTET_STRING_free(ret->distinguishing_id); in x509_cb()
98 OPENSSL_free(ret->propq); in x509_cb()
105 if (!ossl_x509_set0_libctx(ret, old->libctx, old->propq)) in x509_cb()
113 *libctx = ret->libctx; in x509_cb()
121 *propq = ret->propq; in x509_cb()
193 X509 *ret; in d2i_X509_AUX() local
201 ret = d2i_X509(a, &q, length); in d2i_X509_AUX()
203 if (ret == NULL) in d2i_X509_AUX()
207 if (length > 0 && !d2i_X509_CERT_AUX(&ret->aux, &q, length)) in d2i_X509_AUX()
210 return ret; in d2i_X509_AUX()
213 X509_free(ret); in d2i_X509_AUX()