Lines Matching defs:pkp
432 if ((mctx->pkp == FALSE) && (mctx->stapling_enabled == TRUE)) {
508 method = mctx->pkp ?
513 method = mctx->pkp ?
519 method = mctx->pkp ?
524 method = mctx->pkp ?
530 method = mctx->pkp ?
786 char *cfgp = mctx->pkp ? "SSLProxy" : "SSL";
1237 modssl_pk_proxy_t *pkp = mctx->pkp;
1245 if (!(pkp->cert_file || pkp->cert_path)) {
1251 if (pkp->cert_file) {
1252 SSL_X509_INFO_load_file(ptemp, sk, pkp->cert_file);
1255 if (pkp->cert_path) {
1256 SSL_X509_INFO_load_path(ptemp, sk, pkp->cert_path);
1292 pkp->certs = sk;
1295 if (!pkp->ca_cert_file || !store) {
1304 pkp->ca_certs = (STACK_OF(X509) **) apr_pcalloc(p, ncerts * sizeof(sk));
1314 X509_STORE_load_locations(store, pkp->ca_cert_file, NULL);
1319 X509_INFO *inf = sk_X509_INFO_value(pkp->certs, n);
1343 pkp->ca_certs[n] = chain;
1348 pkp->ca_certs[n] = NULL;
1767 if (mctx->pkp->certs) {
1769 int ncerts = sk_X509_INFO_num(mctx->pkp->certs);
1771 if (mctx->pkp->ca_certs) {
1773 if (mctx->pkp->ca_certs[i] != NULL) {
1774 sk_X509_pop_free(mctx->pkp->ca_certs[i], X509_free);
1779 sk_X509_INFO_pop_free(mctx->pkp->certs, X509_INFO_free);
1780 mctx->pkp->certs = NULL;