OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | --- a/svr-authpubkey.c |
1 | --- a/svr-authpubkey.c |
|
2 | +++ b/svr-authpubkey.c |
2 | +++ b/svr-authpubkey.c |
|
3 | @@ -229,14 +229,20 @@ static int checkpubkey(char* algo, unsig |
3 | @@ -220,14 +220,20 @@ static int checkpubkey(char* algo, unsig |
|
4 | goto out; |
4 | goto out; |
|
5 | } |
5 | } |
|
Line 6... | Line 6... | |||
6 | |
6 | |
|
7 | - /* we don't need to check pw and pw_dir for validity, since |
7 | - /* we don't need to check pw and pw_dir for validity, since |
|
Line 27... | Line 27... | |||
27 | + } |
27 | + } |
|
28 | + |
28 | + |
|
Line 29... | Line 29... | |||
29 | |
29 | |
|
30 | /* open the file as the authenticating user. */ |
30 | /* open the file as the authenticating user. */ |
|
31 | origuid = getuid(); |
31 | origuid = getuid(); |
|
32 | @@ -405,26 +411,35 @@ static int checkpubkeyperms() { |
32 | @@ -396,26 +402,35 @@ static int checkpubkeyperms() { |
|
33 | goto out; |
33 | goto out; |
|
Line 34... | Line 34... | |||
34 | } |
34 | } |
|
35 | |
35 | |