Lines Matching refs:x509
132 if (cpk->x509 != NULL) { in ssl_cert_dup()
133 rpk->x509 = cpk->x509; in ssl_cert_dup()
134 X509_up_ref(rpk->x509); in ssl_cert_dup()
246 X509_free(cpk->x509); in ssl_cert_clear_certs()
247 cpk->x509 = NULL; in ssl_cert_clear_certs()
366 if (cpk->x509 == x && cpk->privatekey) { in ssl_cert_select_current()
374 if (cpk->privatekey && cpk->x509 && !X509_cmp(cpk->x509, x)) { in ssl_cert_select_current()
398 if (cpk->x509 && cpk->privatekey) { in ssl_cert_set_current()
1066 if (cpk->x509 == NULL) { in ssl_build_cert_chain()
1081 if (!X509_STORE_add_cert(chain_store, cpk->x509)) in ssl_build_cert_chain()
1098 if (!X509_STORE_CTX_init(xs_ctx, chain_store, cpk->x509, untrusted)) { in ssl_build_cert_chain()