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
diff options
context:
space:
mode:
Diffstat (limited to 'ref/genkat-json.c')
-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");\