vcpkg/ports/paho-mqtt/fix-unresolvedsymbol-arm.patch

13 lines
289 B
Diff
Raw Normal View History

diff --git a/src/SHA1.c b/src/SHA1.c
index 3ef07d9..f0e82ce 100644
--- a/src/SHA1.c
+++ b/src/SHA1.c
@@ -19,6 +19,7 @@
#if !defined(OPENSSL)
#if defined(_WIN32) || defined(_WIN64)
#pragma comment(lib, "crypt32.lib")
+#pragma comment(lib, "Advapi32.lib")
int SHA1_Init(SHA_CTX *c)
{