From 534b2680a15d14e7e60274d5b29b812d44cc5a44 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 26 Feb 2018 14:51:59 +1100 Subject: Comment out hexdump(). Nothing currently uses them but they cause conflicts on at least FreeBSD, possibly others. ok djm@ --- xmss_commons.c | 2 ++ xmss_commons.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/xmss_commons.c b/xmss_commons.c index 0752f29b2..cf031f883 100644 --- a/xmss_commons.c +++ b/xmss_commons.c @@ -21,9 +21,11 @@ void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes) } } +#if 0 void hexdump(const unsigned char *a, size_t len) { size_t i; for (i = 0; i < len; i++) printf("%02x", a[i]); } +#endif diff --git a/xmss_commons.h b/xmss_commons.h index 32fd4e2dc..2cb7cc555 100644 --- a/xmss_commons.h +++ b/xmss_commons.h @@ -11,5 +11,7 @@ Public domain. #include void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); +#if 0 void hexdump(const unsigned char *a, size_t len); -#endif \ No newline at end of file +#endif +#endif -- cgit v1.2.3