mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	preen
This commit is contained in:
		@@ -8,8 +8,7 @@
 | 
			
		||||
#include <SHA256.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
namespace esphome {
 | 
			
		||||
namespace sha256 {
 | 
			
		||||
namespace esphome::sha256 {
 | 
			
		||||
 | 
			
		||||
#ifdef USE_ESP32
 | 
			
		||||
struct SHA256::SHA256Context {
 | 
			
		||||
@@ -127,5 +126,4 @@ bool SHA256::equals_hex(const char *expected) {
 | 
			
		||||
  return this->equals_bytes(parsed);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
}  // namespace sha256
 | 
			
		||||
}  // namespace esphome
 | 
			
		||||
}  // namespace esphome::sha256
 | 
			
		||||
 
 | 
			
		||||
@@ -5,8 +5,7 @@
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <memory>
 | 
			
		||||
 | 
			
		||||
namespace esphome {
 | 
			
		||||
namespace sha256 {
 | 
			
		||||
namespace esphome::sha256 {
 | 
			
		||||
 | 
			
		||||
class SHA256 {
 | 
			
		||||
 public:
 | 
			
		||||
@@ -32,5 +31,4 @@ class SHA256 {
 | 
			
		||||
  std::unique_ptr<SHA256Context> ctx_;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}  // namespace sha256
 | 
			
		||||
}  // namespace esphome
 | 
			
		||||
}  // namespace esphome::sha256
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user