rpcrt4: Don't try to decode the authorization value in the first leg.

This commit is contained in:
Hans Leidekker 2013-09-11 13:49:40 +02:00 committed by Alexandre Julliard
parent 6f2c4bac58
commit 057c98323e
1 changed files with 1 additions and 1 deletions

View File

@ -2653,7 +2653,7 @@ static RPC_STATUS do_authorization(HINTERNET request, SEC_WCHAR *servername,
in_desc.pBuffers = ∈
p = auth_value + scheme_len;
if (*p == ' ')
if (!first && *p == ' ')
{
int len = strlenW(++p);
in.cbBuffer = decode_base64(p, len, NULL);