diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-03-16 15:43:07 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-03-19 14:25:54 +0000 |
commit | 3dc569c48ea9b54dbafe71a7a5563d98ba878ed6 (patch) | |
tree | a96e050d7a84da6b66032a72f6b2063fafc736a3 | |
parent | 39ea9e0416ea4c1a99bf8afa8539c2c331a1d4dc (diff) |
Clarify authorization failure reason strings sent back to the client
-rw-r--r-- | os/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -207,11 +207,11 @@ CheckAuthorization(unsigned int name_length, return (*protocols[i].Check) (data_length, data, client, reason); } - *reason = "Protocol not supported by server\n"; + *reason = "Authorization protocol not supported by server\n"; } } else - *reason = "No protocol specified\n"; + *reason = "Authorization required, but no authorization protocol specified\n"; return (XID) ~0L; } |