瀏覽代碼

Merge pull request #48720 from mbrlabs/scons-fix

Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set
Rémi Verschelde 4 年之前
父節點
當前提交
6054febdde
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/SCsub

+ 1 - 1
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]