[winpr,sspi] log mechanisms not valid

Log SSPI mechanisms that are available but not usable due to
configuration.
This commit is contained in:
Armin Novak
2025-09-04 15:06:53 +02:00
parent 44653285e9
commit f0eb42a2fc

View File

@@ -717,7 +717,10 @@ static SECURITY_STATUS SEC_ENTRY negotiate_InitializeSecurityContextW(
WINPR_ASSERT(pkg->table_w);
if (!cred->valid)
{
WLog_DBG(TAG, "Unavailable mechanism: %s", negotiate_mech_name(cred->mech->oid));
continue;
}
/* Send an optimistic token for the first valid mechanism */
if (!init_context.mech)