wincrypt.h requires windows.h, which isn't included in internal.h when WOLFCRYPT_ONLY set

This commit is contained in:
John Safranek
2022-10-12 15:30:52 -07:00
parent 3b33c962c4
commit b838d65a72

View File

@ -163,6 +163,7 @@
#endif /* !WOLFCRYPT_ONLY || OPENSSL_EXTRA */
#ifdef _WIN32
#include <windows.h>
#include <Wincrypt.h>
#pragma comment(lib, "crypt32")
#endif