Driver: Minor fix

This commit is contained in:
Nodir Temirkhodjaev 2021-12-14 14:09:56 +03:00
parent d888986545
commit 43020b8032

View File

@ -724,7 +724,8 @@ FORT_API NTSTATUS fort_callout_force_reauth(
/* Open provider */ /* Open provider */
HANDLE engine; HANDLE engine;
if (!(status = fort_prov_open(&engine))) { status = fort_prov_open(&engine);
if (NT_SUCCESS(status)) {
fort_prov_trans_begin(engine); fort_prov_trans_begin(engine);
status = fort_callout_force_reauth_prov(old_conf_flags, conf_flags, engine); status = fort_callout_force_reauth_prov(old_conf_flags, conf_flags, engine);