From b165ead16a3e98655ef34172af6fe58f13838cd8 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 30 Sep 2020 10:44:42 +0100 Subject: [PATCH] Minor additional OpenSSL scouring. Signed-off-by: Daira Hopwood --- src/key.h | 4 ++-- src/test/sanity_tests.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/key.h b/src/key.h index 56b9107c7..c61f1dd02 100644 --- a/src/key.h +++ b/src/key.h @@ -95,14 +95,14 @@ public: //! Check whether the public key corresponding to this private key is (to be) compressed. bool IsCompressed() const { return fCompressed; } - //! Initialize from a CPrivKey (serialized OpenSSL private key data). + //! Initialize from a CPrivKey (serialized OpenSSL-format private key data). bool SetPrivKey(const CPrivKey& vchPrivKey, bool fCompressed); //! Generate a new private key using a cryptographic PRNG. void MakeNewKey(bool fCompressed); /** - * Convert the private key to a CPrivKey (serialized OpenSSL private key data). + * Convert the private key to a CPrivKey (serialized OpenSSL-format private key data). * This is expensive. */ CPrivKey GetPrivKey() const; diff --git a/src/test/sanity_tests.cpp b/src/test/sanity_tests.cpp index c29b173fa..41813fdd2 100644 --- a/src/test/sanity_tests.cpp +++ b/src/test/sanity_tests.cpp @@ -14,7 +14,7 @@ BOOST_AUTO_TEST_CASE(basic_sanity) { BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test"); BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test"); - BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test"); + BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "ECC sanity test"); } BOOST_AUTO_TEST_SUITE_END()