[PATCH 2/2] bcrypt: Return STATUS_INVALID_PARAMETER when invalid flag passed to BCryptCreateHash.

Brendan McGrath brendan at redmandi.com
Tue Mar 5 03:33:24 CST 2019


OK - so it should return STATUS_NOT_IMPLEMENTED when 
BCRYPT_HASH_REUSABLE_FLAG is passed and STATUS_INVALID_PARAMETER otherwise?

On 5/3/19 8:31 pm, Hans Leidekker wrote:
> On Tue, 2019-03-05 at 20:24 +1100, Brendan McGrath wrote:
>> This patch is only changing the return value (to be consistent with
>> Windows). It looks like BCRYPT_HASH_REUSABLE_FLAG is yet to be implemented?
> Right, but returning STATUS_INVALID_PARAMETER instead of
> STATUS_NOT_IMPLEMENTED when BCRYPT_HASH_REUSABLE_FLAG is passed is not
> an improvement.
>



More information about the wine-devel mailing list