Lines Matching refs:sk
298 static void delete_ext(STACK_OF(X509_EXTENSION) *sk, X509_EXTENSION *dext) in delete_ext() argument
304 while ((idx = X509v3_get_ext_by_OBJ(sk, obj, -1)) >= 0) in delete_ext()
305 X509_EXTENSION_free(X509v3_delete_ext(sk, idx)); in delete_ext()
314 STACK_OF(X509_EXTENSION) **sk) in X509V3_EXT_add_nconf_sk()
342 if (sk != NULL) { in X509V3_EXT_add_nconf_sk()
344 delete_ext(*sk, ext); in X509V3_EXT_add_nconf_sk()
345 if (X509v3_add_ext(sk, ext, -1) == NULL) { in X509V3_EXT_add_nconf_sk()
362 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_add_nconf()
364 sk = &cert->cert_info.extensions; in X509V3_EXT_add_nconf()
365 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_add_nconf()
375 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_CRL_add_nconf()
377 sk = &crl->crl.extensions; in X509V3_EXT_CRL_add_nconf()
378 return X509V3_EXT_add_nconf_sk(conf, ctx, section, sk); in X509V3_EXT_CRL_add_nconf()