Skip to content

Commit

Permalink
test: [API] fix uninitialized variable in ZUC test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodelara committed Oct 26, 2021
1 parent de704e4 commit 584dbb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/direct_api_param_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,7 @@ test_zuc_api(struct IMB_MGR *mgr)
key_ptrs[i] = key[i];
iv_ptrs[i] = iv[i];
in_ptrs[i] = in_bufs[i];
memset(in_bufs[i], 0, BUF_SIZE);
out_ptrs[i] = out_bufs[i];
tag_ptrs[i] = &tags[i];
lens[i] = BUF_SIZE;
Expand Down

0 comments on commit 584dbb1

Please sign in to comment.