make CryptSetProviderEx conform to windows behavior

James Hawkins truiken at gmail.com
Mon Aug 23 02:00:13 CDT 2004


When calling CryptSetProviderEx in windows, only the 'Name' value of
the 'Type XXX' key is deleted when dwflags contains
CRYPT_DELETE_DEFAULT, because there is no way to restore the
'TypeName' value unless the CSP dll is reregistered in the registry.

This version of the patch fixes a memory leak that was in the first patch.

Changelog
   * make CryptSetProviderEx only delete the 'Name' value and not the
'TypeName' value of the 'Type XXX' key when deleting the default
provider

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypt-spe-name.diff
Type: text/x-patch
Size: 2510 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040823/07337d7c/crypt-spe-name.bin


More information about the wine-patches mailing list