Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ref
diff options
context:
space:
mode:
authorJP Aumasson <jeanphilippe.aumasson@gmail.com>2016-10-11 23:37:14 +0300
committerJP Aumasson <jeanphilippe.aumasson@gmail.com>2016-10-11 23:37:14 +0300
commit6493c5862cba03f7fad987b81fe544eeeb14077b (patch)
tree3a28ac745a768f874dc044b326fb6e3485f30eac /ref
parent1f26297f81720be441075f66773b72b88329f79d (diff)
fixed json input display
Diffstat (limited to 'ref')
-rw-r--r--ref/genkat-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ref/genkat-json.c b/ref/genkat-json.c
index 4482b76..8362942 100644
--- a/ref/genkat-json.c
+++ b/ref/genkat-json.c
@@ -84,7 +84,7 @@ do \
\
printf(" \"hash\": \"" #name "\",\n");\
printf(" \"in\": \"");\
- for( int j = 0; j < i; ++j ) printf( "%02x", in[j]);\
+ for( int j = 0; j < LENGTH; ++j ) printf( "%02x", in[j]);\
\
printf( "\",\n" ); \
printf(" \"key\": \"\",\n");\