I could have used CryptStringToBinaryA for the hex->bin conversion, but that would add another import to wineboot.
This patch was created by me on request from Alexandr Oleynikov of the Lutris project back in September of 2020.
--
v2: wineboot: Generate ProductId from host's machine id.
https://gitlab.winehq.org/wine/wine/-/merge_requests/701
I could have used CryptStringToBinaryA for the hex->bin conversion, but that would add another import to wineboot.
This patch was created by me on request from Alexandr Oleynikov of the Lutris project back in September of 2020.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/701