make CryptSetProviderEx conform to windows behavior

James Hawkins truiken at
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.

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

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 :

More information about the wine-patches mailing list