-
e2f71611
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
msv1_0: Make buffer large enough to hold NTLM_MAX_BUF bytes of base64 encoded data.
Without this patch NTLM tests in next patches will crash.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
ba989896
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Don't load secur32.dll dynamically.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
935b4b34
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Avoid assigning a 4-byte status to an 1-byte variable.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
50ab8430
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Don't use fake user/domain/password in NTLM tests.
Under Windows AcceptSecurityContext() returns SEC_E_LOGON_DENIED after
huge timeout in that case. Using NULL instead uses current user identity
and works as intended. By accepting SEC_E_LOGON_DENIED the tests actually
hide the fact that AcceptSecurityContext() fails under both Windows and Wine.
It looks like that NTLM authentication never worked under Wine because
SEC_E_LOGON_DENIED was there from the start.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
2593db16
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Fix a typo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
a0920e90
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Separate NTLM signature and encryption tests.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
-
3af5a02a
by Dmitry Timoshkov at 2024-08-16T23:17:00+02:00
secur32/tests: Make NTLM encryption tests work on newer Windows versions.
Starting from Vista if context doesn't require encryption or signing
EncryptMessage() fails with SEC_E_UNSUPPORTED_FUNCTION. When encryption
or signing is enabled using fake data is no longer possible because
the session key is always different.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>