Merge d34546d527f1975965518dd708b8854ad3448c57 into f4a1aceb8ca7198b11447d6e1885ce70feb2dcc6

This commit is contained in:
tobil4sk 2026-07-27 21:04:57 +01:00 committed by GitHub
commit 7cb77f80c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Changes
* When building with MSVC, it is no longer necessary to link with bcrypt.lib
explicitly.

View File

@ -42,6 +42,10 @@
#include <bcrypt.h>
#include <intsafe.h>
#if defined(_MSC_VER)
#pragma comment( lib, "bcrypt.lib" )
#endif /* _MSC_VER */
int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len,
size_t *olen)
{