Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 5 of 5) sorted by relevance

/lighttpd1.4/src/
H A Dmod_nss.c488 if (NULL == chain) { in mod_nss_load_pem_file()
493 chain->arena = arena; in mod_nss_load_pem_file()
497 if (NULL == chain->certs) in mod_nss_load_pem_file()
506 memcpy(chain->certs[0].data, f.data, (chain->certs[0].len = f.len)); in mod_nss_load_pem_file()
544 if (chain) in mod_nss_load_pem_file()
549 return chain; in mod_nss_load_pem_file()
676 if (NULL == chain) { in mod_nss_load_config_crls()
681 chain->arena = arena; in mod_nss_load_config_crls()
682 chain->len = count; in mod_nss_load_config_crls()
715 if (chain) in mod_nss_load_config_crls()
[all …]
H A Dmod_mbedtls.c675 mbedtls_x509_crt *chain = hctx->conf.ssl_ca_dn_file; in mod_mbedtls_verify_cb() local
678 if (0 == x509_name_cmp(&crt->issuer, &chain->subject)) in mod_mbedtls_verify_cb()
681 if (len == chain->subject_raw.len in mod_mbedtls_verify_cb()
682 && 0 == memcmp(chain->subject_raw.p, crt->issuer_raw.p, len)) in mod_mbedtls_verify_cb()
685 } while ((chain = chain->next)); in mod_mbedtls_verify_cb()
687 if (NULL == chain) in mod_mbedtls_verify_cb()
848 mod_mbedtls_x509_crl_parse_file (mbedtls_x509_crl *chain, const char *fn) in mod_mbedtls_x509_crl_parse_file() argument
855 rc = mbedtls_x509_crl_parse(chain, (unsigned char *)data, (size_t)dlen+1); in mod_mbedtls_x509_crl_parse_file()
913 mod_mbedtls_x509_crt_parse_acme (mbedtls_x509_crt *chain, const char *fn) in mod_mbedtls_x509_crt_parse_acme() argument
955 mod_mbedtls_x509_crt_parse_file (mbedtls_x509_crt *chain, const char *fn) in mod_mbedtls_x509_crt_parse_file() argument
[all …]
H A Dmod_openssl.c693 mod_openssl_load_X509_sk (const char *file, log_error_st *errh, STACK_OF(X509) **chain, BIO *in) in mod_openssl_load_X509_sk() argument
707 *chain = chain_sk; in mod_openssl_load_X509_sk()
713 mod_openssl_load_X509_STORE (const char *file, log_error_st *errh, X509_STORE **chain, BIO *in) in mod_openssl_load_X509_STORE() argument
727 *chain = chain_store; in mod_openssl_load_X509_STORE()
1114 STACK_OF(X509) *chain = NULL; in mod_openssl_cert_cb()
1115 SSL_get0_chain_certs(ssl, &chain); in mod_openssl_cert_cb()
1116 pc->ssl_pemfile_chain = X509_chain_up_ref(chain); in mod_openssl_cert_cb()
1305 mod_openssl_load_pem_file (const char *file, log_error_st *errh, STACK_OF(X509) **chain) in mod_openssl_load_pem_file() argument
1307 *chain = NULL; in mod_openssl_load_pem_file()
1330 else if (is_pem && !mod_openssl_load_X509_sk(file, errh, chain, in)) { in mod_openssl_load_pem_file()
H A Dmod_wolfssl.c656 mod_wolfssl_load_pem_file (const char *fn, log_error_st *errh, buffer ***chain) in mod_wolfssl_load_pem_file() argument
739 *chain = certs; in mod_wolfssl_load_pem_file()
/lighttpd1.4/
H A DNEWS353 * [mod_mbedtls] fix crt chain construction logic
619 * [mod_openssl] skip cert chain build if self-issued
2284 * [mod_openssl] allow specifying server cert chain (fixes #2692)