audk/OvmfPkg/EnrollDefaultKeys
Laszlo Ersek 59b754c9f6 OvmfPkg/EnrollDefaultKeys: clean up Base64Decode() retval handling
Since commit 35e242b698 ("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>
2019-09-05 19:28:35 +02:00
..
AuthData.c OvmfPkg/EnrollDefaultKeys: remove Red Hat's hard-coded PK/KEK1 2019-04-30 14:26:49 +02:00
EnrollDefaultKeys.c OvmfPkg/EnrollDefaultKeys: clean up Base64Decode() retval handling 2019-09-05 19:28:35 +02:00
EnrollDefaultKeys.h OvmfPkg/EnrollDefaultKeys: remove Red Hat's hard-coded PK/KEK1 2019-04-30 14:26:49 +02:00
EnrollDefaultKeys.inf OvmfPkg/EnrollDefaultKeys: enroll PK/KEK1 from the Type 11 SMBIOS table 2019-04-30 14:26:46 +02:00