diff options
author | Werner Koch <wk@gnupg.org> | 2021-06-02 11:28:51 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-06-02 11:31:11 +0200 |
commit | 15e9f82fb4b204c2dba27478a89239165399f851 (patch) | |
tree | 5a94b5dda0625bbaef84af8cf4010c3608d6016e | |
parent | 1ceac721abb52c86415f83c02a19e118a1b0d8b7 (diff) | |
download | libgcrypt-15e9f82fb4b204c2dba27478a89239165399f851.tar.gz |
Silence compiler warning.
* tests/basic.c (check_ofb_cipher): Use unsigned int for LEN.
(check_stream_cipher): Ditto.
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | tests/basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic.c b/tests/basic.c index 034ef8da..f0ddce3a 100644 --- a/tests/basic.c +++ b/tests/basic.c @@ -1112,7 +1112,7 @@ check_ofb_cipher (void) struct data { unsigned char plaintext[MAX_DATA_LEN]; - int inlen; + unsigned int inlen; char out[MAX_DATA_LEN]; } data[MAX_DATA_LEN]; @@ -5127,7 +5127,7 @@ check_stream_cipher (void) const char *iv; struct data { - int inlen; + unsigned int inlen; const char *plaintext; const char *out; } data[MAX_DATA_LEN]; |