diff options
Diffstat (limited to 'ref/genkat-json.c')
-rw-r--r-- | ref/genkat-json.c | 2 |
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");\ |