[openssh-commits] [openssh] 01/01: Comment out hexdump().
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Feb 26 14:53:01 AEDT 2018
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 534b2680a15d14e7e60274d5b29b812d44cc5a44
Author: Darren Tucker <dtucker at dtucker.net>
Date: Mon Feb 26 14:51:59 2018 +1100
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 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
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list