From 74174676b8c451702588a6e511090e62cc1a20f1 Mon Sep 17 00:00:00 2001 From: Marcus Brummer Date: Fri, 14 May 2021 14:52:03 +0200 Subject: [PATCH] Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set (cherry picked from commit 7e8e40a38e72877d0dac13efe917628e2c7a9444) --- core/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/SCsub b/core/SCsub index d9be33376a4..445249a5c00 100644 --- a/core/SCsub +++ b/core/SCsub @@ -20,7 +20,7 @@ if "SCRIPT_AES256_ENCRYPTION_KEY" in os.environ: ec_valid = False else: txt = "" - for i in range(len(e) >> 1): + for i in range(len(key) >> 1): if i > 0: txt += "," txts = "0x" + key[i * 2 : i * 2 + 2]