Lines Matching refs:rpk
130 CERT_PKEY *rpk = ret->pkeys + i; in ssl_cert_dup() local
133 rpk->x509 = cpk->x509; in ssl_cert_dup()
134 X509_up_ref(rpk->x509); in ssl_cert_dup()
138 rpk->privatekey = cpk->privatekey; in ssl_cert_dup()
143 rpk->chain = X509_chain_up_ref(cpk->chain); in ssl_cert_dup()
144 if (!rpk->chain) { in ssl_cert_dup()
151 rpk->serverinfo = OPENSSL_memdup(cpk->serverinfo, cpk->serverinfo_length); in ssl_cert_dup()
152 if (rpk->serverinfo == NULL) in ssl_cert_dup()
154 rpk->serverinfo_length = cpk->serverinfo_length; in ssl_cert_dup()
161 rpk->comp_cert[j] = cpk->comp_cert[j]; in ssl_cert_dup()
419 static int ssl_verify_internal(SSL_CONNECTION *s, STACK_OF(X509) *sk, EVP_PKEY *rpk) in ssl_verify_internal() argument
429 if ((sk == NULL || sk_X509_num(sk) == 0) && rpk == NULL) in ssl_verify_internal()
433 if (sk != NULL && rpk != NULL) in ssl_verify_internal()
455 if (!X509_STORE_CTX_init_rpk(ctx, verify_store, rpk)) { in ssl_verify_internal()
531 int ssl_verify_rpk(SSL_CONNECTION *s, EVP_PKEY *rpk) in ssl_verify_rpk() argument
533 return ssl_verify_internal(s, NULL, rpk); in ssl_verify_rpk()