Lines Matching refs:NULL

109     ac->sptree = NULL;  in http_auth_cache_init()
134 return (*sptree && (*sptree)->key == ndx) ? (*sptree)->data : NULL; in http_auth_cache_query()
143 if (NULL == *sptree || (*sptree)->key != ndx) in http_auth_cache_insert()
200 if (NULL == p->cvlist) return HANDLER_GO_ON; in TRIGGER_FUNC()
222 static http_auth_scheme_t http_auth_scheme_basic = { "basic", mod_auth_check_basic, NULL }; in INIT_FUNC()
223 static http_auth_scheme_t http_auth_scheme_digest = { "digest", mod_auth_check_digest, NULL }; in INIT_FUNC()
224 …static const http_auth_scheme_t http_auth_scheme_extern = { "extern", mod_auth_check_extern, NULL … in INIT_FUNC()
239 if (NULL == p->cvlist) return; in FREE_FUNC()
244 if (cpv->vtype != T_CONFIG_LOCAL || NULL == cpv->v.v) continue; in FREE_FUNC()
279 NULL, /* copy must not be called on this data */ in data_auth_init()
281 NULL, /* insert_dup must not be called on this data */ in data_auth_init()
344 for (const char *s = algos->ptr, *p; s; s = p ? p+1 : NULL) { in mod_auth_algorithms_parse()
370 len = NULL != p ? (size_t)(p - str) : strlen(str); in mod_auth_require_parse()
372 if (NULL == eq) { in mod_auth_require_parse()
447 const buffer *method = NULL, *realm = NULL, *require = NULL; in mod_auth_require_parse_array()
448 const buffer *nonce_secret = NULL; in mod_auth_require_parse_array()
449 data_unset *userhash = NULL; in mod_auth_require_parse_array()
451 buffer *algos = NULL; in mod_auth_require_parse_array()
503 if (NULL == auth_scheme) { in mod_auth_require_parse_array()
604 ,{ NULL, 0, in SETDEFAULTS_FUNC()
623 if (NULL == auth_backend) { in SETDEFAULTS_FUNC()
672 if (p->conf.auth_require == NULL) return HANDLER_GO_ON; in mod_auth_uri_handler()
679 if (NULL == dauth) return HANDLER_GO_ON; in mod_auth_uri_handler()
685 if (NULL != vb && http_auth_match_rules(dauth->require, vb->ptr, NULL, NULL)) { in mod_auth_uri_handler()
729 r->handler_module = NULL; in mod_auth_send_400_bad_request()
740 r->handler_module = NULL; in mod_auth_send_401_unauthorized_basic()
755 if (NULL == backend) in mod_auth_basic_misconfigured()
764 r->handler_module = NULL; in mod_auth_basic_misconfigured()
772 if (NULL == backend || NULL == backend->basic) in mod_auth_check_basic()
778 if (NULL == vb || !buffer_eq_icase_ssn(vb->ptr, CONST_STR_LEN("Basic "))) in mod_auth_check_basic()
804 if (NULL == pw) { in mod_auth_check_basic()
815 : NULL; in mod_auth_check_basic()
816 http_auth_cache_entry *ae = NULL; in mod_auth_check_basic()
828 ae = NULL; in mod_auth_check_basic()
831 if (NULL == ae) { in mod_auth_check_basic()
839 if (sptree && NULL == ae) { /*(cache (new) successful result)*/ in mod_auth_check_basic()
985 if (NULL == nonce_secret) in mod_auth_append_nonce()
1084 mod_auth_append_nonce(b, cur_ts, require, algoid[i], NULL); in mod_auth_digest_www_authenticate()
1101 r->handler_module = NULL; in mod_auth_send_401_unauthorized_digest()
1115 mod_auth_append_nonce(b, cur_ts, require, dalgo, NULL); in mod_auth_digest_authentication_info()
1126 : NULL; in mod_auth_digest_get()
1127 http_auth_cache_entry *ae = NULL; in mod_auth_digest_get()
1160 ae = NULL; in mod_auth_digest_get()
1163 if (NULL == ae) { in mod_auth_digest_get()
1183 if (sptree && NULL == ae) { /*(cache digest from backend)*/ in mod_auth_digest_get()
1198 if (NULL == backend) in mod_auth_digest_misconfigured()
1207 r->handler_module = NULL; in mod_auth_digest_misconfigured()
1234 { NULL, 0, http_auth_digest_params_sz } in mod_auth_digest_parse_authorization()
1352 && ((NULL != dp->ptr[e_username]) ^ (NULL != dp->ptr[e_userstar])) in mod_auth_digest_validate_params()
1495 if (NULL == backend || NULL == backend->digest) in mod_auth_check_digest()
1501 if (NULL == vb || !buffer_eq_icase_ssn(vb->ptr, CONST_STR_LEN("Digest "))) in mod_auth_check_digest()
1545 if (!http_auth_match_rules(require, tb->ptr, NULL, NULL)) in mod_auth_check_digest()
1567 if (NULL != vb && http_auth_match_rules(require, vb->ptr, NULL, NULL)) { in mod_auth_check_extern()
1571 r->handler_module = NULL; in mod_auth_check_extern()