Showing the changes to include (1 of 11 files). Show all
Unified · Split
| @@ -23,6 +23,7 @@ enum · 22 unmodified lines | ||
| 23 | 23 | NETCHLEN= 16, /* max network challenge length (used in AS protocol) */ |
| 24 | 24 | CONFIGLEN= 14, |
| 25 | 25 | SECRETLEN= 32, /* secret max size */ |
| 26 | + PASSWDLEN= 28, /* password max size */ | |
| 26 | 27 | |
| 27 | 28 | NONCELEN= 32, |
| 28 | 29 | |
| @@ -99,8 +100,8 @@ struct Authenticator · 70 unmodified lines | ||
| 99 | 100 | struct Passwordreq |
| 100 | 101 | { |
| 101 | 102 | char num; |
| 102 | − char old[ANAMELEN]; | |
| 103 | − char new[ANAMELEN]; | |
| 103 | + char old[PASSWDLEN]; | |
| 104 | + char new[PASSWDLEN]; | |
| 104 | 105 | char changesecret; |
| 105 | 106 | char secret[SECRETLEN]; /* new secret */ |
| 106 | 107 | }; |
| @@ -184,6 +185,7 @@ struct Nvrsafe · 77 unmodified lines | ||
| 184 | 185 | |
| 185 | 186 | extern uchar nvcsum(void*, int); |
| 186 | 187 | extern int readnvram(Nvrsafe*, int); |
| 188 | +extern char* readcons(char*, char*, int); | |
| 187 | 189 | |
| 188 | 190 | /* |
| 189 | 191 | * call up auth server |