Lines Matching refs:sx
75 static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
110 static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
117 v = ASN1_INTEGER_get(sx->version);
119 for (i = 0; i < sk_SXNETID_num(sx->ids); i++) {
120 id = sk_SXNETID_value(sx->ids, i);
141 SXNET *sx = NULL; in sxnet_v2i() local
145 if (!SXNET_add_id_asc(&sx, cnf->name, cnf->value, -1)) in sxnet_v2i()
148 return sx; in sxnet_v2i()
190 SXNET *sx = NULL; in SXNET_add_id_INTEGER() local
203 if (!(sx = SXNET_new())) in SXNET_add_id_INTEGER()
205 if (!ASN1_INTEGER_set(sx->version, 0)) in SXNET_add_id_INTEGER()
207 *psx = sx; in SXNET_add_id_INTEGER()
209 sx = *psx; in SXNET_add_id_INTEGER()
210 if (SXNET_get_id_INTEGER(sx, zone)) { in SXNET_add_id_INTEGER()
222 if (!sk_SXNETID_push(sx->ids, id)) in SXNET_add_id_INTEGER()
230 SXNET_free(sx); in SXNET_add_id_INTEGER()
235 ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, char *zone) in SXNET_get_id_asc() argument
243 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
248 ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone) in SXNET_get_id_ulong() argument
257 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
262 ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone) in SXNET_get_id_INTEGER() argument
266 for (i = 0; i < sk_SXNETID_num(sx->ids); i++) { in SXNET_get_id_INTEGER()
267 id = sk_SXNETID_value(sx->ids, i); in SXNET_get_id_INTEGER()