char auth_protocol[128];
char buf[1024];
int auth_data_len;
- int auth_data_pos;
- int auth_mismatches;
if (fd > 0)
{
#ifdef AUTH_MAGIC_COOKIE
if (server_xauth && server_xauth->data)
- {
+ {
/* Do a compare without comprising info about
the size of the cookie */
- auth_mismatches =
+ int auth_data_pos;
+ int auth_mismatches =
( auth_data_len ^
server_xauth->data_length );
return TRUE;
for(;rand() % 1000;);
- }
+ }
#else
printf ("client tried Xauth, but server is not compiled with Xauth\n");