Merge pull request #48720 from mbrlabs/scons-fix

Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set
This commit is contained in:
Rémi Verschelde 2021-05-14 15:13:45 +02:00 committed by GitHub
commit 6054febdde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]