Lines Matching refs:dnscenv
655 dnsc_find_cert(struct dnsc_env* dnscenv, struct sldns_buffer* buffer) in dnsc_find_cert() argument
657 const dnsccert *certs = dnscenv->certs; in dnsc_find_cert()
665 for (i = 0U; i < dnscenv->signed_certs_count; i++) { in dnsc_find_cert()
683 dnsc_load_local_data(struct dnsc_env* dnscenv, struct config_file *cfg) in dnsc_load_local_data() argument
688 strdup(dnscenv->provider_name), in dnsc_load_local_data()
691 dnscenv->provider_name); in dnsc_load_local_data()
697 for(i=0; i<dnscenv->signed_certs_count; i++) { in dnsc_load_local_data()
703 struct SignedCert *cert = dnscenv->signed_certs + i; in dnsc_load_local_data()
705 for(j=0; j<dnscenv->rotated_certs_count; j++){ in dnsc_load_local_data()
706 if(cert == dnscenv->rotated_certs[j]) { in dnsc_load_local_data()
722 if((unsigned)strlen(dnscenv->provider_name) >= (unsigned)0xffff0000) { in dnsc_load_local_data()
727 rrlen = strlen(dnscenv->provider_name) + in dnsc_load_local_data()
737 snprintf(rr, rrlen - 1, "%s 86400 IN TXT \"", dnscenv->provider_name); in dnsc_load_local_data()
756 return dnscenv->signed_certs_count; in dnsc_load_local_data()
886 dnsc_handle_curved_request(struct dnsc_env* dnscenv, in dnsc_handle_curved_request() argument
898 if ((repinfo->dnsc_cert = dnsc_find_cert(dnscenv, c->buffer)) != NULL) { in dnsc_handle_curved_request()
899 if(dnscrypt_server_uncurve(dnscenv, in dnsc_handle_curved_request()