diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /include/authsrv.h | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'include/authsrv.h')
-rw-r--r-- | include/authsrv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/authsrv.h b/include/authsrv.h index 5f2fc041..c349605c 100644 --- a/include/authsrv.h +++ b/include/authsrv.h @@ -34,7 +34,7 @@ enum KEYDBOFF= 8, /* length of random data at the start of key file */ OKEYDBLEN= ANAMELEN+DESKEYLEN+4+2, /* length of an entry in old key file */ KEYDBLEN= OKEYDBLEN+SECRETLEN, /* length of an entry in key file */ - OMD5LEN= 16, + OMD5LEN= 16 }; /* encryption numberings (anti-replay) */ @@ -60,7 +60,7 @@ enum AuthAs, /* server generated authenticator */ AuthAc, /* client generated authenticator */ AuthTp, /* ticket encrypted with client's key for password change */ - AuthHr, /* http reply */ + AuthHr /* http reply */ }; struct Ticketreq @@ -140,7 +140,7 @@ extern int passtokey(char*, char*); */ enum { NVwrite = 1<<0, /* always prompt and rewrite nvram */ - NVwriteonerr = 1<<1, /* prompt and rewrite nvram when corrupt */ + NVwriteonerr = 1<<1 /* prompt and rewrite nvram when corrupt */ }; struct Nvrsafe |