1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-30 22:56:22 +00:00

Make clang-tidy happy

This commit is contained in:
Carles Fernandez 2023-06-20 08:20:45 +02:00
parent 2a41ed8278
commit 2649406538
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -564,7 +564,7 @@ bool Gnss_Crypto::verify_signature(const std::vector<uint8_t>& message, const st
} }
std::vector<uint8_t> Gnss_Crypto::getMerkleRoot(const std::vector<std::vector<uint8_t>>& merkle) std::vector<uint8_t> Gnss_Crypto::getMerkleRoot(const std::vector<std::vector<uint8_t>>& merkle) const
{ {
if (merkle.empty()) if (merkle.empty())
{ {

View File

@ -49,7 +49,7 @@ public:
bool verify_signature(const std::vector<uint8_t>& message, const std::vector<uint8_t>& signature); bool verify_signature(const std::vector<uint8_t>& message, const std::vector<uint8_t>& signature);
void readPublicKeyFromPEM(const std::string& pemFilePath); void readPublicKeyFromPEM(const std::string& pemFilePath);
void read_merkle_xml(const std::string& merkleFilePath); void read_merkle_xml(const std::string& merkleFilePath);
std::vector<uint8_t> getMerkleRoot(const std::vector<std::vector<uint8_t>>& merkle); std::vector<uint8_t> getMerkleRoot(const std::vector<std::vector<uint8_t>>& merkle) const;
// void set_public_key(const std::vector<uint8_t>& publickey); // void set_public_key(const std::vector<uint8_t>& publickey);