diff options
author | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2016-10-11 23:37:14 +0300 |
---|---|---|
committer | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2016-10-11 23:37:14 +0300 |
commit | 6493c5862cba03f7fad987b81fe544eeeb14077b (patch) | |
tree | 3a28ac745a768f874dc044b326fb6e3485f30eac /ref | |
parent | 1f26297f81720be441075f66773b72b88329f79d (diff) |
fixed json input display
Diffstat (limited to 'ref')
-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");\ |