[PATCH 5/5] bcrypt: Allow to call BCryptSetProperty on key objects.

Hans Leidekker hans at codeweavers.com
Tue Mar 20 05:34:51 CDT 2018


On Tue, 2018-03-20 at 04:25 +0000, Alistair Leslie-Hughes wrote:
> diff --git a/dlls/bcrypt/bcrypt_main.c b/dlls/bcrypt/bcrypt_main.c
> index 5daddff..f26903f 100644
> --- a/dlls/bcrypt/bcrypt_main.c
> +++ b/dlls/bcrypt/bcrypt_main.c
> @@ -246,6 +246,9 @@ struct algorithm
>      BOOL hmac;
>  };
>  
> +struct key;
> +static NTSTATUS set_key_property( struct key *key, const WCHAR *prop, UCHAR *value, ULONG size, ULONG flags );

If you move BCryptSetProperty down you can avoid these forward declarations.




More information about the wine-devel mailing list