Sizes are unsigned
This commit is contained in:
parent
0afc36c827
commit
d923f3ef4b
@ -10,7 +10,7 @@ int main(void)
|
|||||||
#define MAXLEN 64
|
#define MAXLEN 64
|
||||||
crypto_generichash_state st;
|
crypto_generichash_state st;
|
||||||
crypto_uint8 in[MAXLEN], out[crypto_generichash_BYTES_MAX], k[crypto_generichash_KEYBYTES_MAX];
|
crypto_uint8 in[MAXLEN], out[crypto_generichash_BYTES_MAX], k[crypto_generichash_KEYBYTES_MAX];
|
||||||
int h,i,j;
|
size_t h,i,j;
|
||||||
|
|
||||||
for(h = 0; h < crypto_generichash_KEYBYTES_MAX; ++h) k[h] = h;
|
for(h = 0; h < crypto_generichash_KEYBYTES_MAX; ++h) k[h] = h;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user