From f86d9b0aa6dec773d0f8aa915f8399de2e730675 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 21 Sep 2025 12:09:46 -0600 Subject: [PATCH] remove testing --- esphome/components/sha256/sha256.cpp | 6 ------ esphome/components/sha256/sha256.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/esphome/components/sha256/sha256.cpp b/esphome/components/sha256/sha256.cpp index 24d15be4a7..199460acbc 100644 --- a/esphome/components/sha256/sha256.cpp +++ b/esphome/components/sha256/sha256.cpp @@ -78,12 +78,6 @@ void SHA256::calculate() { #error "SHA256 not supported on this platform" #endif -std::string SHA256::get_hex_string() { - char buf[65]; - this->get_hex(buf); - return std::string(buf); -} - } // namespace esphome::sha256 #endif // Platform check diff --git a/esphome/components/sha256/sha256.h b/esphome/components/sha256/sha256.h index f650008ac7..78cccd80f2 100644 --- a/esphome/components/sha256/sha256.h +++ b/esphome/components/sha256/sha256.h @@ -33,8 +33,6 @@ class SHA256 : public esphome::HashBase { void calculate() override; - std::string get_hex_string(); - /// Get the size of the hex output (64 for SHA256) size_t get_hex_size() const override { return 64; }