Home | History | Annotate | Download | only in x509

Lines Matching full:loc

125 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc)
127 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0)
130 return sk_X509_EXTENSION_value(x,loc);
133 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc)
137 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0)
139 ret=sk_X509_EXTENSION_delete(x,loc);
144 X509_EXTENSION *ex, int loc)
165 if (loc > n) loc=n;
166 else if (loc < 0) loc=n;
170 if (!sk_X509_EXTENSION_insert(sk,new_ex,loc))