projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.4.3 "Academic Rigor".
[chise/xemacs-chise.git.1]
/
lib-src
/
gnuserv.c
diff --git
a/lib-src/gnuserv.c
b/lib-src/gnuserv.c
index
2ba5785
..
34b933b
100644
(file)
--- a/
lib-src/gnuserv.c
+++ b/
lib-src/gnuserv.c
@@
-458,8
+458,6
@@
permitted (unsigned long host_addr, int fd)
char auth_protocol[128];
char buf[1024];
int auth_data_len;
char auth_protocol[128];
char buf[1024];
int auth_data_len;
- int auth_data_pos;
- int auth_mismatches;
if (fd > 0)
{
if (fd > 0)
{
@@
-502,10
+500,11
@@
permitted (unsigned long host_addr, int fd)
#ifdef AUTH_MAGIC_COOKIE
if (server_xauth && server_xauth->data)
#ifdef AUTH_MAGIC_COOKIE
if (server_xauth && server_xauth->data)
- {
+ {
/* Do a compare without comprising info about
the size of the cookie */
/* 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 );
( auth_data_len ^
server_xauth->data_length );
@@
-518,7
+517,7
@@
permitted (unsigned long host_addr, int fd)
return TRUE;
for(;rand() % 1000;);
return TRUE;
for(;rand() % 1000;);
- }
+ }
#else
printf ("client tried Xauth, but server is not compiled with Xauth\n");
#else
printf ("client tried Xauth, but server is not compiled with Xauth\n");