Commit bcd14a18 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix return value in error cases (clang).

parent a7534610
......@@ -3213,7 +3213,8 @@ static BOOL match_domain_component(LPCWSTR allowed_component, DWORD allowed_len,
break;
}
}
matches = tolowerW(*allowed_ptr) == tolowerW(*server_ptr);
if (matches)
matches = tolowerW(*allowed_ptr) == tolowerW(*server_ptr);
}
if (matches && server_ptr - server_component < server_len)
{
......
Markdown is supported
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