Commit 435dba8b authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to previous revision.

parent 6ae8e298
......@@ -1078,7 +1078,7 @@ handle_request(int sock, struct sockaddr_in *client, char *rdata, int istcp)
* Look for external key
if (sscanf(bp, "KEY=%" XSTRINGIFY(PRIV_LEN) "s", buf)) {
if (sscanf(bp, "KEY=%" XSTRINGIFY(PRIVKEY_LEN) "s", buf)) {
for (i = 0; i < strlen(buf); i++){
if (! isalnum(buf[i])) {
info("tmcd client provided invalid "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment