~ubuntu-branches/ubuntu/feisty/lighttpd/feisty-security

« back to all changes in this revision

Viewing changes to src/http_auth.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-03-20 13:53:07 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20060320135307-800byq9gi3r5y6zh
Tags: upstream-1.4.11
Import upstream version 1.4.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
806
806
        
807
807
        /* parse credentials from client */
808
808
        for (c = b->ptr; *c; c++) {
 
809
                /* skip whitespaces */
 
810
                while (*c == ' ' || *c == '\t') c++;
 
811
                if (!c) break;
 
812
 
809
813
                for (i = 0; dkv[i].key; i++) {
810
814
                        if ((0 == strncmp(c, dkv[i].key, dkv[i].key_len))) {
811
815
                                if ((c[dkv[i].key_len] == '"') && 
847
851
            !realm ||
848
852
            !nonce ||
849
853
            !uri ||
850
 
            (qop && !nc && !cnonce) ||
 
854
            (qop && (!nc || !cnonce)) ||
851
855
            !respons ) {
852
856
                /* missing field */
853
857