mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:45:22 +00:00
Driver: fortprov: Fix callouts unregistering order
This commit is contained in:
parent
6247441199
commit
a94383df74
@ -133,8 +133,8 @@ FORT_API void fort_prov_unregister(HANDLE transEngine)
|
||||
if (fort_prov_trans_open_engine(transEngine, &engine))
|
||||
return;
|
||||
|
||||
fort_prov_unregister_provider(engine);
|
||||
fort_prov_unregister_flow_filters(engine);
|
||||
fort_prov_unregister_provider(engine);
|
||||
|
||||
fort_prov_trans_close_engine(transEngine, engine, /*status=*/0);
|
||||
}
|
||||
|
@ -773,7 +773,8 @@ static NTSTATUS fort_callout_force_reauth_prov(
|
||||
if (old_conf_flags.prov_boot != conf_flags.prov_boot) {
|
||||
fort_prov_unregister(engine);
|
||||
|
||||
if ((status = fort_prov_register(engine, conf_flags.prov_boot)))
|
||||
status = fort_prov_register(engine, conf_flags.prov_boot);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
prov_recreated = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user