Fix typo causing build error on Windows when building without TLS support.

Thanks to TimmvonderMehden.

Closes #1264.
pull/1304/head
Roger A. Light 6 years ago
parent 999c478c88
commit 3f8f4fc2c8

@ -15,6 +15,10 @@ Broker:
- Fix Will message for a persistent client not being sent on disconnect.
Closes #1273.
Client library:
- Fix typo causing build error on Windows when building without TLS support.
Closes #1264.
Clients:
- Fix -L url parsing when `/topic` part is missing.
- Stop some error messages being printed even when `--quiet` was used.

@ -331,7 +331,7 @@ int util__random_bytes(void *bytes, int count)
rc = MOSQ_ERR_SUCCESS;
}
#elif defined(WIN32)
HRYPTPROV provider;
HCRYPTPROV provider;
if(!CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)){
return MOSQ_ERR_UNKNOWN;

Loading…
Cancel
Save