From 7e8e40a38e72877d0dac13efe917628e2c7a9444 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 --- core/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/SCsub b/core/SCsub index 607daada21f1..bdf8544840bc 100644 --- a/core/SCsub +++ b/core/SCsub @@ -18,7 +18,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]