Home | History | Annotate | Download | only in statem

Lines Matching refs:cpk

1020 static int ssl_add_cert_chain(SSL_CONNECTION *s, WPACKET *pkt, CERT_PKEY *cpk, int for_comp)
1029 if (cpk == NULL || cpk->x509 == NULL)
1032 x = cpk->x509;
1037 if (cpk->chain != NULL)
1038 extra_certs = cpk->chain;
1327 unsigned long tls_output_rpk(SSL_CONNECTION *sc, WPACKET *pkt, CERT_PKEY *cpk)
1335 if (cpk != NULL && cpk->x509 != NULL) {
1336 x509 = cpk->x509;
1338 xpk = X509_get_X509_PUBKEY(cpk->x509);
1344 } else if (cpk != NULL && cpk->privatekey != NULL) {
1346 pdata_len = i2d_PUBKEY(cpk->privatekey, &pdata);
1406 CERT_PKEY *cpk, int for_comp)
1414 if (!ssl_add_cert_chain(s, pkt, cpk, for_comp))