]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
typo in rev.13819
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 5 Jan 2015 10:01:47 +0000 (02:01 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 5 Jan 2015 10:01:47 +0000 (02:01 -0800)
helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc

index e3b030ffebe607d6e4a0a771dc91ceaf74bbcfa7..6b3a7908fc7fd9bc0a9debdab2d9c68191060a75 100644 (file)
@@ -657,7 +657,7 @@ main(int argc, char *const argv[])
             continue;
         }
         const uint8_t *b64Token = reinterpret_cast<const uint8_t*>(buf+3);
-        const size_t srcLen = strlen(b64Token);
+        const size_t srcLen = strlen(buf+3);
         input_token.length = BASE64_DECODE_LENGTH(srcLen);
         debug((char *) "%s| %s: DEBUG: Decode '%s' (decoded length estimate: %d).\n",
               LogTime(), PROGRAM, b64Token, (int) input_token.length);