aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index b50c3c6b17a2..bfee6e9f642d 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -837,7 +837,8 @@ static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate,
837 int ret; 837 int ret;
838 838
839 for (i = 0; i < ctcount; i++) { 839 for (i = 0; i < ctcount; i++) {
840 int ilen, dlen = COMP_BUF_SIZE; 840 int ilen;
841 unsigned int dlen = COMP_BUF_SIZE;
841 842
842 memset(result, 0, sizeof (result)); 843 memset(result, 0, sizeof (result));
843 844
@@ -869,7 +870,8 @@ static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate,
869 } 870 }
870 871
871 for (i = 0; i < dtcount; i++) { 872 for (i = 0; i < dtcount; i++) {
872 int ilen, dlen = COMP_BUF_SIZE; 873 int ilen;
874 unsigned int dlen = COMP_BUF_SIZE;
873 875
874 memset(result, 0, sizeof (result)); 876 memset(result, 0, sizeof (result));
875 877