Lines Matching refs:pc

134     plugin_cert *pc;  member
148 plugin_cert *pc; member
483 plugin_cert *pc = cpv->v.v; in mod_mbedtls_free_config() local
484 mbedtls_pk_free(&pc->ssl_pemfile_pkey); in mod_mbedtls_free_config()
485 mbedtls_x509_crt_free(&pc->ssl_pemfile_x509); in mod_mbedtls_free_config()
486 free(pc); in mod_mbedtls_free_config()
527 pconf->pc = cpv->v.v; in mod_mbedtls_merge_config_cpv()
746 const buffer * const ssl_pemfile = hctx->conf.pc->ssl_pemfile; in mod_mbedtls_SNI()
765 if (!buffer_is_equal(hctx->conf.pc->ssl_pemfile, ssl_pemfile)) { in mod_mbedtls_SNI()
767 if (hctx->conf.pc->need_chain) { in mod_mbedtls_SNI()
768 hctx->conf.pc->need_chain = 0; /*(attempt once to complete chain)*/ in mod_mbedtls_SNI()
769 mbedtls_x509_crt *ssl_cred = &hctx->conf.pc->ssl_pemfile_x509; in mod_mbedtls_SNI()
778 &hctx->conf.pc->ssl_pemfile_x509, in mod_mbedtls_SNI()
779 &hctx->conf.pc->ssl_pemfile_pkey); in mod_mbedtls_SNI()
1042 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_mbedtls_load_pemfile() local
1043 pc->ssl_pemfile_pkey = ssl_pemfile_pkey; in network_mbedtls_load_pemfile()
1044 pc->ssl_pemfile_x509 = ssl_pemfile_x509; in network_mbedtls_load_pemfile()
1045 pc->ssl_pemfile = pemfile; in network_mbedtls_load_pemfile()
1046 pc->ssl_privkey = privkey; in network_mbedtls_load_pemfile()
1047 pc->need_chain = (ssl_pemfile_x509.next == NULL in network_mbedtls_load_pemfile()
1062 pc->notAfter = TIME64_CAST(timegm(&tm)); in network_mbedtls_load_pemfile()
1065 return pc; in network_mbedtls_load_pemfile()
1465 if (s->pc->need_chain) { in network_init_ssl()
1466 s->pc->need_chain = 0; /*(attempt once to complete chain)*/ in network_init_ssl()
1681 plugin_cert *pc = cpv->v.v; in mod_mbedtls_set_defaults_sockets() local
1682 conf.pc = pc; in mod_mbedtls_set_defaults_sockets()
1683 conf.ssl_pemfile_pkey = &pc->ssl_pemfile_pkey; in mod_mbedtls_set_defaults_sockets()
1684 conf.ssl_pemfile_x509 = &pc->ssl_pemfile_x509; in mod_mbedtls_set_defaults_sockets()
1685 conf.ssl_pemfile = pc->ssl_pemfile; in mod_mbedtls_set_defaults_sockets()
1686 conf.ssl_privkey = pc->ssl_privkey; in mod_mbedtls_set_defaults_sockets()