I'm attempting to compile your steampwd.c using MinGW.
I'm running the following command in the command prompt: gcc steampwd.c
and I'm getting the following errors:
Code:
Undefined reference to '_imp__GetOpenFileNameA@4'
Undefined reference to 'SHA256'
Undefined reference to 'AES_ecb_encrypt'
Undefined reference to 'SHA256'
Undefined reference to 'EVP_sha1'
Undefined reference to 'HMAC'
Undefined reference to 'AES_set_encrypt_key'
I understand I need to link libraries but I'm not sure which ones to link or how to accomplish it correctly.