secur32: Fix wrapper.c to honour functions that are run twice.

Kai Blin blin at gmx.net
Sun Aug 21 14:03:35 CDT 2005


* Kai Blin <blin at gmx.net> [21/08/05, 20:15:55]:

> -                    ret = SECUR32_makeSecHandle(phContext, package, &myCtxt);
> +                    ret = SECUR32_makeSecHandle(phNewContext, package, &myCtxt);
>                      if (ret != SEC_E_OK)
>                          package->provider->fnTableW.DeleteSecurityContext(
>                           &myCtxt);

Of course this needs to be changed, or SECUR32_makeSecHandle will
overwrite the return value of InitializeSecurityContext resp.
AcceptSecurityContext. Fixed in my new patch.

Sorry,
Kai

-- 
Kai Blin, (blin at gmx dot net)
How sharper than a hound's tooth it is to have a thankless serpent.



More information about the wine-devel mailing list