From 566d5ceae5f187b2f326eacbe164e034cbcc120b Mon Sep 17 00:00:00 2001 From: Jake Massimo Date: Tue, 17 Dec 2024 11:53:55 -0800 Subject: [PATCH] spacing nit --- crypto/dilithium/p_pqdsa_test.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crypto/dilithium/p_pqdsa_test.cc b/crypto/dilithium/p_pqdsa_test.cc index 1c795900c5..b76714abd5 100644 --- a/crypto/dilithium/p_pqdsa_test.cc +++ b/crypto/dilithium/p_pqdsa_test.cc @@ -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); }