[PATCH] advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH.

Hans Leidekker hans at codeweavers.com
Wed Aug 18 03:34:16 CDT 2010

On Wed, 2010-08-18 at 10:14 +1000, Austin Lund wrote:

>  #define MAGIC_CRYPTPROV 0xA39E741F
> +#define MAGIC_CRYPTKEY 0xA39E741F
> +#define MAGIC_CRYPTHASH 0xA39E741F

The app might pass a crypto handle of the wrong type, so it would be
better to use different magic values.

More information about the wine-devel mailing list