Skip to content

Commit

Permalink
Remove SECP256K1_INLINE usage from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Mar 9, 2023
1 parent 5658209 commit 7744589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/examples_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void print_hex(unsigned char* data, size_t size) {
#include <Windows.h>
#endif
/* 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)
/* SecureZeroMemory is guaranteed not to be optimized out by MSVC. */
SecureZeroMemory(ptr, len);
Expand Down

0 comments on commit 7744589

Please sign in to comment.