浏览代码

Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set

(cherry picked from commit 7e8e40a38e72877d0dac13efe917628e2c7a9444)
Marcus Brummer 4 年之前
父节点
当前提交
74174676b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/SCsub

+ 1 - 1
core/SCsub

@@ -20,7 +20,7 @@ if "SCRIPT_AES256_ENCRYPTION_KEY" in os.environ:
         ec_valid = False
         ec_valid = False
     else:
     else:
         txt = ""
         txt = ""
-        for i in range(len(e) >> 1):
+        for i in range(len(key) >> 1):
             if i > 0:
             if i > 0:
                 txt += ","
                 txt += ","
             txts = "0x" + key[i * 2 : i * 2 + 2]
             txts = "0x" + key[i * 2 : i * 2 + 2]