rem: if (memcmp(item, name->value, name->length) != 0) return (0);
add: if (memcmp(item, name->value, name->length) != 0) {  buf = (unsigned char *)name->value; buf += expNameTokIdLen;   buf += 2;   buf++;   length = get_der_length(&buf, (name->length - expNameTokIdLen - mechOidLenLen - mechOidTagLen), &dummy);  if (length == -1) return (0);  mechOidDesc.length = length;   if (name->length < (expNameTokIdLen + mechOidLenLen + length + dummy + mechOidTagLen)) return (0);  mechOidDesc.value = buf;  buf += dummy + mechOidDesc.length;   if (mechOidDesc.length == 9 && (memcmp(buf, krb5_oid, mechOidDesc.length) == 0) && (*buf == '\0' && buf[length] == '\0')) { if (gss_import_name(&minor, name, GSS_C_NT_EXPORT_NAME, &intName) != GSS_S_COMPLETE) return (0); result = gss_export_name(&minor, intName, &expName); (void) gss_release_name(&minor, &intName); if (result != GSS_S_COMPLETE) return (0); result = memcmp(item, expName.value, expName.length); (void) gss_release_buffer(&minor, &expName); if (result != 0) return (0); } }
context: static int matchEntry(const char *entry, const gss_buffer_t name,		const char *uid, uid_t *uidOut){	char fullEntry[MAX_ENTRY_LEN+1], *item;	char dilims[] = "\t \n";	if (entry == NULL || isspace(*entry))		return (0);	/* save the entry since strtok will chop it up */	(void) strcpy(fullEntry, entry);	if ((item = strtok(fullEntry, dilims)) == NULL)		return (0);	/* do wee need to search the name */	if (name != NULL) {		/* we can match the prefix of the string */		if (strlen(item) < name->length)			return (0);		/* check if the prefix of the name matches */		if (memcmp(item, name->value, name->length) != 0)			return (0);		/* do we need to check the uid - if not then we found it */		if (uid == NULL) {			/* do we ned to parse out the uid ? */			if (uidOut) {				if ((item = strtok(NULL, dilims)) == NULL)					return (0);				*uidOut = atol(item);			}			return (1);		}		/* continue with checking the uid */	}	if (uid == NULL)		return (1);	/* get the next token from the string - the uid */	if ((item = strtok(NULL, dilims)) == NULL)		return (0);	if (strcmp(item, uid) == 0)		return (1);	return (0);}  /* *******  matchEntry ****** */