Skip to content

Commit

Permalink
Remove redundant assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuktu committed May 5, 2016
1 parent 309239c commit ad3f56b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_ntru.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ uint8_t gen_key_pair(char *seed, NtruEncParams *params, NtruEncKeyPair *kp) {
NtruRandContext rand_ctx;
NtruRandGen rng = NTRU_RNG_CTR_DRBG;
ntru_rand_init_det(&rand_ctx, &rng, seed_uint8, seed_len);
rand_ctx.seed = seed_uint8;
rand_ctx.seed_len = seed_len;
uint8_t result = 1;
result &= ntru_gen_key_pair(params, kp, &rand_ctx) == NTRU_SUCCESS;
result &= ntru_rand_release(&rand_ctx) == NTRU_SUCCESS;
Expand Down

0 comments on commit ad3f56b

Please sign in to comment.