summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/EccToolError.py
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-07-02 02:03:15 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-09-05 19:28:35 +0200
commit59b754c9f697d9627b0ccccd327d5132f0e1abb0 (patch)
tree36c5814ffb156ad7681d2b9a6bd6facd274eba3a /BaseTools/Source/Python/Ecc/EccToolError.py
parentae9f12058d71d9c5971c3cf36191cd813ecc9554 (diff)
downloadedk2-59b754c9f697d9627b0ccccd327d5132f0e1abb0.tar.gz
edk2-59b754c9f697d9627b0ccccd327d5132f0e1abb0.tar.bz2
edk2-59b754c9f697d9627b0ccccd327d5132f0e1abb0.zip
OvmfPkg/EnrollDefaultKeys: clean up Base64Decode() retval handling
Since commit 35e242b698cd ("MdePkg/BaseLib: rewrite Base64Decode()", 2019-07-16), Base64Decode() guarantees that DestinationSize is larger on output than it was on input if RETURN_BUFFER_TOO_SMALL is returned. Clean up the retval handling for the first Base64Decode() call in EnrollDefaultKeys, which used to work around the ambiguity in the previous Base64Decode() interface contract. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1981 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/EccToolError.py')
0 files changed, 0 insertions, 0 deletions