Searched refs:strbase (Results 1 – 2 of 2) sorted by relevance
124 const char *strbase = "Basic realm="; in ask_for_authentication() local131 headervalue = malloc (strlen (strbase) + strlen (realm) + 1); in ask_for_authentication()135 strcpy (headervalue, strbase); in ask_for_authentication()159 const char *strbase = "Basic "; in is_authenticated() local167 if (0 != strncmp (headervalue, strbase, strlen (strbase))) in is_authenticated()184 (strcmp (headervalue + strlen (strbase), expected_b64) == 0); in is_authenticated()
4057 const char *strbase = "Basic realm=";4064 headervalue = malloc (strlen (strbase) + strlen (realm) + 1);4068 strcpy (headervalue, strbase);4092 const char *strbase = "Basic ";4100 if (0 != strncmp (headervalue, strbase, strlen (strbase)))4117 (strcmp (headervalue + strlen (strbase), expected_b64) == 0);