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-11-03 17:15:44 +0000 |
commit | 81b0d0c20fe04c82d91c6ca68c24849f3323f2a3 (patch) | |
tree | 66427b01da9cb838f633f0fc5bdf994970f1972e | |
parent | f7b35366975729c8135be065d7cf1e0aaa79fc15 (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; } |