Remove SECP256K1_INLINE
usage from examples
This commit is contained in:
parent
5658209459
commit
77445898a5
@ -77,7 +77,7 @@ static void print_hex(unsigned char* data, size_t size) {
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif
|
#endif
|
||||||
/* Cleanses memory to prevent leaking sensitive info. Won't be optimized out. */
|
/* Cleanses memory to prevent leaking sensitive info. Won't be optimized out. */
|
||||||
static SECP256K1_INLINE void secure_erase(void *ptr, size_t len) {
|
static void secure_erase(void *ptr, size_t len) {
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
/* SecureZeroMemory is guaranteed not to be optimized out by MSVC. */
|
/* SecureZeroMemory is guaranteed not to be optimized out by MSVC. */
|
||||||
SecureZeroMemory(ptr, len);
|
SecureZeroMemory(ptr, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user