Searched refs:cpk (Results 1 – 5 of 5) sorted by relevance
210 CERT_PKEY *cpk = cert->pkeys + i; in ssl_cert_dup() local212 if (cpk->x509 != NULL) { in ssl_cert_dup()213 rpk->x509 = X509_up_ref(cpk->x509); in ssl_cert_dup()216 if (cpk->privatekey != NULL) { in ssl_cert_dup()217 rpk->privatekey = EVP_PKEY_up_ref(cpk->privatekey); in ssl_cert_dup()220 if (cpk->chain) { in ssl_cert_dup()221 rpk->chain = X509_chain_up_ref(cpk->chain); in ssl_cert_dup()285 CERT_PKEY *cpk = c->pkeys + i; in ssl_cert_clear_certs() local286 if (cpk->x509) { in ssl_cert_clear_certs()287 X509_free(cpk->x509); in ssl_cert_clear_certs()[all …]
304 int ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk) { in ssl3_output_cert_chain() argument308 if (cpk == NULL) { in ssl3_output_cert_chain()314 } else if (!ssl_add_cert_chain(s, cpk, &l)) { in ssl3_output_cert_chain()
2286 CERT_PKEY *cpk; in ssl3_send_server_certificate() local2289 cpk = ssl_get_server_send_pkey(s); in ssl3_send_server_certificate()2290 if (cpk == NULL) { in ssl3_send_server_certificate()2296 if (!ssl3_output_cert_chain(s, cpk)) { in ssl3_send_server_certificate()
824 int ssl_add_cert_chain(SSL *s, CERT_PKEY *cpk, unsigned long *l);889 int ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk);
1827 CERT_PKEY *cpk = &s->cert->pkeys[idx]; in ssl_has_key() local1828 return cpk->x509 && cpk->privatekey; in ssl_has_key()