Lines Matching refs:sx
22 static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
57 static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
69 if (!ASN1_INTEGER_get_int64(&v, sx->version)
78 for (i = 0; i < sk_SXNETID_num(sx->ids); i++) {
79 id = sk_SXNETID_value(sx->ids, i);
102 SXNET *sx = NULL; in sxnet_v2i() local
106 if (!SXNET_add_id_asc(&sx, cnf->name, cnf->value, -1)) { in sxnet_v2i()
107 SXNET_free(sx); in sxnet_v2i()
111 return sx; in sxnet_v2i()
163 SXNET *sx = NULL; in SXNET_add_id_INTEGER() local
177 if ((sx = SXNET_new()) == NULL) { in SXNET_add_id_INTEGER()
181 if (!ASN1_INTEGER_set(sx->version, 0)) { in SXNET_add_id_INTEGER()
186 sx = *psx; in SXNET_add_id_INTEGER()
187 if (SXNET_get_id_INTEGER(sx, zone)) { in SXNET_add_id_INTEGER()
190 SXNET_free(sx); in SXNET_add_id_INTEGER()
203 if (!sk_SXNETID_push(sx->ids, id)) { in SXNET_add_id_INTEGER()
209 *psx = sx; in SXNET_add_id_INTEGER()
215 SXNET_free(sx); in SXNET_add_id_INTEGER()
219 ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, const char *zone) in SXNET_get_id_asc() argument
228 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
233 ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone) in SXNET_get_id_ulong() argument
244 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
249 ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone) in SXNET_get_id_INTEGER() argument
253 for (i = 0; i < sk_SXNETID_num(sx->ids); i++) { in SXNET_get_id_INTEGER()
254 id = sk_SXNETID_value(sx->ids, i); in SXNET_get_id_INTEGER()