|
1 | 1 | diff --git a/secp256k1-zkp-sys/depend/secp256k1/src/util.h b/secp256k1-zkp-sys/depend/secp256k1/src/util.h
|
2 |
| -index 10ea516..4066d2a 100644 |
| 2 | +index 10ea516..2c53866 100644 |
3 | 3 | --- a/secp256k1-zkp-sys/depend/secp256k1/src/util.h
|
4 | 4 | +++ b/secp256k1-zkp-sys/depend/secp256k1/src/util.h
|
5 |
| -@@ -153,14 +153,6 @@ static const secp256k1_callback default_error_callback = { |
| 5 | +@@ -19,26 +19,6 @@ |
| 6 | + #define DEBUG_CONFIG_MSG(x) "DEBUG_CONFIG: " x |
| 7 | + #define DEBUG_CONFIG_DEF(x) DEBUG_CONFIG_MSG(#x "=" STR(x)) |
| 8 | + |
| 9 | +-/* Debug helper for printing arrays of unsigned char. */ |
| 10 | +-#define PRINT_BUF(buf, len) do { \ |
| 11 | +- printf("%s[%lu] = ", #buf, (unsigned long)len); \ |
| 12 | +- print_buf_plain(buf, len); \ |
| 13 | +-} while(0) |
| 14 | +- |
| 15 | +-static void print_buf_plain(const unsigned char *buf, size_t len) { |
| 16 | +- size_t i; |
| 17 | +- printf("{"); |
| 18 | +- for (i = 0; i < len; i++) { |
| 19 | +- if (i % 8 == 0) { |
| 20 | +- printf("\n "); |
| 21 | +- } else { |
| 22 | +- printf(" "); |
| 23 | +- } |
| 24 | +- printf("0x%02X,", buf[i]); |
| 25 | +- } |
| 26 | +- printf("\n}\n"); |
| 27 | +-} |
| 28 | +- |
| 29 | + # if (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) ) |
| 30 | + # if SECP256K1_GNUC_PREREQ(2,7) |
| 31 | + # define SECP256K1_INLINE __inline__ |
| 32 | +@@ -153,14 +133,6 @@ static const secp256k1_callback default_error_callback = { |
6 | 33 | #define VERIFY_CHECK(cond)
|
7 | 34 | #endif
|
8 | 35 |
|
|
0 commit comments