aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum/chap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum/chap.c')
-rw-r--r--src/cmd/auth/factotum/chap.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/cmd/auth/factotum/chap.c b/src/cmd/auth/factotum/chap.c
index 2b258902..b27f64a7 100644
--- a/src/cmd/auth/factotum/chap.c
+++ b/src/cmd/auth/factotum/chap.c
@@ -33,7 +33,7 @@ enum {
MShashlen = 16,
MSchallen = 8,
- MSresplen = 24,
+ MSresplen = 24
};
static int
@@ -315,7 +315,7 @@ out:
keyclose(s.k);
free(user);
free(resp);
-// xioclose(s.asfd);
+/* xioclose(s.asfd); */
return ret;
}
@@ -411,16 +411,17 @@ chaproles[] =
};
Proto chap = {
-.name= "chap",
-.roles= chaproles,
-.checkkey= chapcheck,
-.keyprompt= "user? !password?",
+ "chap",
+ chaproles,
+ "user? !password?",
+ chapcheck
};
Proto mschap = {
-.name= "mschap",
-.roles= chaproles,
-.checkkey= chapcheck,
-.keyprompt= "user? !password?",
+ "mschap",
+ chaproles,
+ "user? !password?",
+ chapcheck
};
+