summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-26 14:51:59 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-26 14:51:59 +1100
commit534b2680a15d14e7e60274d5b29b812d44cc5a44 (patch)
tree4f62d40d2b9c779287c5d003f4be4757a62b2e65
parent5aea4aa522f61bb2f34c3055a7de203909dfae77 (diff)
downloadopenssh-git-534b2680a15d14e7e60274d5b29b812d44cc5a44.tar.gz
Comment out hexdump().
Nothing currently uses them but they cause conflicts on at least FreeBSD, possibly others. ok djm@
-rw-r--r--xmss_commons.c2
-rw-r--r--xmss_commons.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/xmss_commons.c b/xmss_commons.c
index 0752f29b..cf031f88 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 32fd4e2d..2cb7cc55 100644
--- a/xmss_commons.h
+++ b/xmss_commons.h
@@ -11,5 +11,7 @@ Public domain.
#include <stdint.h>
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