[openssl-users] Configure 1.0.2 for Windows without readscreen()

Jeffrey Walton noloader at gmail.com
Tue Jul 18 17:25:04 UTC 2017


Hi Everyone,

Windows 10 makes CreateCompatibleBitmap (and friends) available for
Desktop Apps only. For other builds, like phones and IoT gadgets, the
functions are not available.

My question is, is it possible to configure OpenSSL 1.0.2 to avoid the
missing Windows APIs, like readscreen()?

If not, is there a way to remove the Windows API specific stuff except
maybe CryptGenRandom?

Looking at https://github.com/openssl/openssl/blob/OpenSSL_1_0_2-stable/crypto/rand/rand_win.c,
I don't see an interesting guard. So I'm guessing the rand_win
generator may need to be removed.

Jeff


More information about the openssl-users mailing list