summaryrefslogtreecommitdiff
path: root/os/connection.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-03 13:23:34 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-03 13:23:34 -0400
commit375864cb74cced40ae688078b1f7750998972535 (patch)
treeec04cc6a35956b662d1ebfc710fd5aed4cf5fd08 /os/connection.c
parentd445d2f22b5c97fa010370f4ba9cb0555df4a853 (diff)
security: drop support for XC-QUERY-SECURITY authorization method.
Diffstat (limited to 'os/connection.c')
-rw-r--r--os/connection.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/os/connection.c b/os/connection.c
index d975f87d2..c1152aad7 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -140,9 +140,6 @@ SOFTWARE.
#include "appgroup.h"
#endif
#include "xace.h"
-#ifdef XCSECURITY
-#include "securitysrv.h"
-#endif
#ifdef X_NOT_POSIX
#define Pid_t int
@@ -669,13 +666,7 @@ ClientAuthorized(ClientPtr client,
if (auth_id == (XID) ~0L)
{
- if (
-#ifdef XCSECURITY
- (proto_n == 0 ||
- strncmp (auth_proto, XSecurityAuthorizationName, proto_n) != 0) &&
-#endif
- _XSERVTransGetPeerAddr (trans_conn,
- &family, &fromlen, &from) != -1)
+ if (_XSERVTransGetPeerAddr(trans_conn, &family, &fromlen, &from) != -1)
{
if (InvalidHost ((struct sockaddr *) from, fromlen, client))
AuthAudit(client, FALSE, (struct sockaddr *) from,