[PATCH 1/2] ncrypt: Implement NCryptIsAlgSupported.
Hans Leidekker
hans at codeweavers.com
Tue Apr 5 10:12:49 CDT 2022
On Tue, 2022-04-05 at 10:56 -0400, Mohamad Al-Jaf wrote:
> 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.
It's okay to ignore the provider since we don't really support it yet.
More information about the wine-devel
mailing list