X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FRsa2048Sha256Sign%2FRsa2048Sha256Sign.py;h=2f901a7f29fa4c6dca786901099c7cf511c01900;hp=6cb235ae759f732ed72c5ef4a8e138d56e8ebb13;hb=0e3bfc6f7a2b7b52cb684736d878e249edbff5cb;hpb=60dc40db2aac3d84332dbb17b1d20e353bfceb0c diff --git a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py index 6cb235ae75..2f901a7f29 100644 --- a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py +++ b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py @@ -187,7 +187,7 @@ if __name__ == '__main__': # Write output file that contains hash GUID, Public Key, Signature, and Input data # args.OutputFile = open(args.OutputFileName, 'wb') - args.OutputFile.write(EFI_HASH_ALGORITHM_SHA256_GUID.get_bytes_le()) + args.OutputFile.write(EFI_HASH_ALGORITHM_SHA256_GUID.bytes_le) args.OutputFile.write(bytearray.fromhex(PublicKey)) args.OutputFile.write(Signature) args.OutputFile.write(args.InputFileBuffer)