[PATCH 1/2] ncrypt: Implement NCryptIsAlgSupported.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Tue Apr 5 09:56:35 CDT 2022


On Tue, Apr 5, 2022, 07:38 Hans Leidekker <hans at codeweavers.com> wrote:
> We don't ERR on invalid user input.

Sorry, I didn't know, this was based on the existing code in ncrypt.

> I think it would better to implement this on top of
BCryptEnumAlgorithms().
> Also note that you can't free provider here, it's > owned by the caller.

This is actually what I had originally and I used a for loop to iterate
through the list to see if the algid matches. But doing this provider was
not used. I thought this would be considered incorrect. I'm not sure what
to do with provider.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/6710056f/attachment.htm>


More information about the wine-devel mailing list