Lines Matching refs:work_kl
323 STACK_OF(EVP_PKEY) *work_kl = NULL; /* Head for private key list */ in parse_pkcs12()
330 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca); in parse_pkcs12()
340 if (sk_EVP_PKEY_num(work_kl) > 0) { in parse_pkcs12()
342 if (sunw_split_certs(work_kl, work_ca, &work_cl, &nocerts) in parse_pkcs12()
363 work_kl, work_cl, pkey, cert); in parse_pkcs12()
380 retval = sunw_find_fname(name_str, work_kl, work_cl, in parse_pkcs12()
393 retval = get_key_cert(0, work_kl, pkey, work_cl, cert); in parse_pkcs12()
412 retval = get_key_cert(n, work_kl, pkey, work_cl, cert); in parse_pkcs12()
429 tmpk = work_kl; in parse_pkcs12()
430 if (work_kl == NULL || sk_EVP_PKEY_num(work_kl) == 0) in parse_pkcs12()
463 if (work_kl != NULL) { in parse_pkcs12()
464 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free); in parse_pkcs12()
501 STACK_OF(EVP_PKEY) *work_kl = NULL; in sunw_PKCS12_contents()
509 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) { in sunw_PKCS12_contents()
519 if (parse_outer(p12, pass, work_kl, work_ca) == 0) { in sunw_PKCS12_contents()
527 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL, in sunw_PKCS12_contents()
531 if (work_kl != NULL) { in sunw_PKCS12_contents()
532 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free); in sunw_PKCS12_contents()