mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Merge d34546d527f1975965518dd708b8854ad3448c57 into f4a1aceb8ca7198b11447d6e1885ce70feb2dcc6
This commit is contained in:
commit
7cb77f80c6
3
ChangeLog.d/windows_pragma_lib_bcrypt.txt
Normal file
3
ChangeLog.d/windows_pragma_lib_bcrypt.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Changes
|
||||
* When building with MSVC, it is no longer necessary to link with bcrypt.lib
|
||||
explicitly.
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user