summaryrefslogtreecommitdiff
path: root/os/mitauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/mitauth.c')
-rw-r--r--os/mitauth.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/os/mitauth.c b/os/mitauth.c
index efae4404c..e75d700e1 100644
--- a/os/mitauth.c
+++ b/os/mitauth.c
@@ -97,19 +97,6 @@ MitResetCookie(void)
return 0;
}
-XID
-MitToID(unsigned short data_length, char *data)
-{
- struct auth *auth;
-
- for (auth = mit_auth; auth; auth = auth->next) {
- if (data_length == auth->len &&
- memcmp(data, auth->data, data_length) == 0)
- return auth->id;
- }
- return (XID) -1;
-}
-
int
MitFromID(XID id, unsigned short *data_lenp, char **datap)
{