On Thu Sep 8 08:53:27 2022 +0000, Huw Davies wrote:
Using `memcmp()` here would be simpler.
I've made it like this because it makes it easier when debugging, I saw this kind of checks in other places like bcrypt. But now that I see it its true, I'm testing RegLoadAppKey and not RegGetValue, so it shouldn't be problem to use memcmp.