summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-03-16 15:43:07 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-03-19 14:25:54 +0000
commit3dc569c48ea9b54dbafe71a7a5563d98ba878ed6 (patch)
treea96e050d7a84da6b66032a72f6b2063fafc736a3
parent39ea9e0416ea4c1a99bf8afa8539c2c331a1d4dc (diff)
Clarify authorization failure reason strings sent back to the client
-rw-r--r--os/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/auth.c b/os/auth.c
index 5fcb538c4..c69d18d73 100644
--- a/os/auth.c
+++ b/os/auth.c
@@ -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;
}