mirror of
https://github.com/esphome/esphome.git
synced 2026-05-28 13:37:24 +08:00
Add USE_SHA256 define to sha256 component to enable tests (#12457)
This commit is contained in:
@@ -12,6 +12,8 @@ CONFIG_SCHEMA = cv.Schema({})
|
|||||||
|
|
||||||
|
|
||||||
async def to_code(config: ConfigType) -> None:
|
async def to_code(config: ConfigType) -> None:
|
||||||
|
cg.add_define("USE_SHA256")
|
||||||
|
|
||||||
# Add OpenSSL library for host platform
|
# Add OpenSSL library for host platform
|
||||||
if not CORE.is_host:
|
if not CORE.is_host:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user