--- libwww/Library/src/HTAABrow.c 1996/04/12 17:45:24 2.34 +++ libwww/Library/src/HTAABrow.c 1996/07/02 22:54:07 2.35 @@ -3,7 +3,7 @@ ** ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. -** @(#) $Id: HTAABrow.c,v 2.34 1996/04/12 17:45:24 frystyk Exp $ +** @(#) $Id: HTAABrow.c,v 2.35 1996/07/02 22:54:07 frystyk Exp $ ** ** Contains code for parsing challenges and creating credentials for ** basic and digest authentication schemes. See also the HTAAUtil module @@ -111,7 +111,7 @@ PRIVATE HTAssocList * basic_credentials if (!cookie) HT_OUTOFMEM("basic_credentials"); strcpy(cookie, "Basic "); strcat(cookie, cipher); - HTAssocList_add(credentials, "Authorization", cookie); + HTAssocList_addObject(credentials, "Authorization", cookie); HT_FREE(cookie); } HT_FREE(cleartext); @@ -136,7 +136,7 @@ PRIVATE HTAssocList *digest_credentials /* Do the generation */ #if 0 - HTAssocList_add(credentials, "Authorization", cookie); + HTAssocList_addObject(credentials, "Authorization", cookie); #endif HT_FREE(cleartext); HT_FREE(cipher); @@ -208,7 +208,7 @@ PUBLIC BOOL HTBasic_parse (HTRequest * r { HTAssocList * challenge; if (request && (challenge = HTRequest_challenge(request))) { - char * p = HTAssocList_lookup(challenge, "WWW-authenticate"); + char * p = HTAssocList_findObject(challenge, "WWW-authenticate"); char * value = HTNextField(&p); if (AUTH_TRACE) HTTrace("Auth........ Parsing %s challenge\n", value?value:"NULL");