On Tue, Apr 5, 2022, 07:38 Hans Leidekker hans@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.