From caeeefbcf4f489ba3fd205e678270d6beba36a7e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 19 Oct 2014 19:25:51 -0700 Subject: [PATCH] Credit CodesInChaos --- src/libsodium/sodium/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c index 308552b9..c0a187bc 100644 --- a/src/libsodium/sodium/utils.c +++ b/src/libsodium/sodium/utils.c @@ -92,6 +92,7 @@ sodium_memcmp(const void * const b1_, const void * const b2_, size_t len) return (int) ((1 & ((d - 1) >> 8)) - 1); } +/* Derived from original code by CodesInChaos */ char * sodium_bin2hex(char * const hex, const size_t hex_maxlen, const unsigned char * const bin, const size_t bin_len)