for (i = 0; i < buflen; i++) {
for (i = 0; i < buflen; i++)
PRBool pref_VerifyLockFile(char* buf, long buflen){#ifndef NO_SECURITY	PRBool success = PR_FALSE;	const int obscure_value = 7;	const long hash_length = 51;		/* len = 48 chars of MD5 + // + EOL */    unsigned char digest[16];    char szHash[64];	/* Unobscure file by subtracting some value from every char. */	long i;	for (i = 0; i < buflen; i++) {		buf[i] -= obscure_value;	}    if (buflen >= hash_length) {    	const unsigned char magic_key[] = "VonGloda5652TX75235ISBN";	    unsigned char *pStart = (unsigned char*) buf + hash_length;	    unsigned int len;	    	    MD5Context * md5_cxt = MD5_NewContext();		MD5_Begin(md5_cxt);				/* start with the magic key */		MD5_Update(md5_cxt, magic_key, sizeof(magic_key));		MD5_Update(md5_cxt, pStart, buflen - hash_length);				MD5_End(md5_cxt, digest, &len, 16);				MD5_DestroyContext(md5_cxt, PR_TRUE);			    PR_snprintf(szHash, 64, "%02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x",	        (int)digest[0],(int)digest[1],(int)digest[2],(int)digest[3],	        (int)digest[4],(int)digest[5],(int)digest[6],(int)digest[7],	        (int)digest[8],(int)digest[9],(int)digest[10],(int)digest[11],	        (int)digest[12],(int)digest[13],(int)digest[14],(int)digest[15]);		success = ( PL_strncmp((const char*) buf + 3, szHash, hash_length - 4) == 0 );	}    return success;#else		/*	 * Should return 'success', but since the MD5 code is stubbed out,	 * just return 'PR_TRUE' until we have a replacement.	 */	return PR_TRUE;#endif}