Lines Matching defs:work_kl

394 	STACK_OF(EVP_PKEY) *work_kl = NULL;
402 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) {
413 if (pem_info(fp, cb, userdata, &work_kl, &work_ca) <= 0) {
418 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL, NULL, NULL,
421 if (work_kl != NULL) {
422 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free);
458 STACK_OF(EVP_PKEY) *work_kl = NULL;
466 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) {
476 if (parse_outer(p12, pass, work_kl, work_ca) == 0) {
484 retval = set_results(pkey, &work_kl, certs, &work_ca, NULL,
488 if (work_kl != NULL) {
489 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free);
1545 STACK_OF(EVP_PKEY) *work_kl = NULL; /* Head for private key list */
1552 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca);
1562 if (sk_EVP_PKEY_num(work_kl) > 0) {
1564 if (sunw_split_certs(work_kl, work_ca, &work_cl, &nocerts)
1585 work_kl, work_cl, pkey, cert);
1602 retval = sunw_find_fname(name_str, work_kl, work_cl,
1615 retval = get_key_cert(0, work_kl, pkey, work_cl, cert);
1634 retval = get_key_cert(n, work_kl, pkey, work_cl, cert);
1651 tmpk = work_kl;
1652 if (work_kl == NULL || sk_EVP_PKEY_num(work_kl) == 0)
1685 if (work_kl != NULL) {
1686 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free);
2036 STACK_OF(EVP_PKEY) *work_kl;
2051 if ((work_kl = sk_EVP_PKEY_new_null()) == NULL) {
2132 retval = sk_EVP_PKEY_push(work_kl, x->x_pkey->dec_pkey);
2148 retval = set_results(pkeys, &work_kl, certs, &work_cl, NULL, NULL,
2152 if (work_kl != NULL) {
2153 sk_EVP_PKEY_pop_free(work_kl, sunw_evp_pkey_free);
2711 * work_kl - Points to working stack of pkeys
2739 set_results(STACK_OF(EVP_PKEY) **pkeys, STACK_OF(EVP_PKEY) **work_kl,
2746 if (pkeys != NULL && work_kl != NULL && *work_kl != NULL &&
2747 sk_EVP_PKEY_num(*work_kl) > 0) {
2749 *pkeys = *work_kl;
2750 *work_kl = NULL;
2752 if (sunw_append_keys(*pkeys, *work_kl) < 0) {