History

update libauthsrv, use common readcons() function

cinap_lenrek committed 10 years ago

Commit 0a4c2981 parent e79c78b11 files · +142 −209Browse files

Showing the changes to include (1 of 11 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t