Skip to content

Commit

Permalink
spacing nit
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemas committed Dec 17, 2024
1 parent 1da78fb commit 566d5ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crypto/dilithium/p_pqdsa_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1183,10 +1183,8 @@ TEST_P(PQDSAParameterTest, KeyGen) {
EXPECT_EQ(EVP_R_UNSUPPORTED_ALGORITHM, ERR_GET_REASON(err));
ctx.get()->pkey = (EVP_PKEY*) tmp;

// attempt to change NID after PKEY is set and verify
// attempt to change NID after PKEY is set and verify that this null's the key
ASSERT_TRUE(EVP_PKEY_pqdsa_set_params(pkey.get(), nid));


ASSERT_TRUE(pkey.get()->pkey.pqdsa_key->public_key == nullptr);
ASSERT_TRUE(pkey.get()->pkey.pqdsa_key->private_key == nullptr);
}
Expand Down

0 comments on commit 566d5ce

Please sign in to comment.