CryptoPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the CryptoPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
2b16a4fb91
commit
7c34237831
@@ -57,8 +57,8 @@ DxeCryptLibConstructor (
|
||||
(VOID **)&mCryptoProtocol
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status) || mCryptoProtocol == NULL) {
|
||||
DEBUG((DEBUG_ERROR, "[DxeCryptLib] Failed to locate Crypto Protocol. Status = %r\n", Status));
|
||||
if (EFI_ERROR (Status) || (mCryptoProtocol == NULL)) {
|
||||
DEBUG ((DEBUG_ERROR, "[DxeCryptLib] Failed to locate Crypto Protocol. Status = %r\n", Status));
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
ASSERT (mCryptoProtocol != NULL);
|
||||
mCryptoProtocol = NULL;
|
||||
@@ -67,7 +67,7 @@ DxeCryptLibConstructor (
|
||||
|
||||
Version = mCryptoProtocol->GetVersion ();
|
||||
if (Version < EDKII_CRYPTO_VERSION) {
|
||||
DEBUG((DEBUG_ERROR, "[DxeCryptLib] Crypto Protocol unsupported version %d\n", Version));
|
||||
DEBUG ((DEBUG_ERROR, "[DxeCryptLib] Crypto Protocol unsupported version %d\n", Version));
|
||||
ASSERT (Version >= EDKII_CRYPTO_VERSION);
|
||||
mCryptoProtocol = NULL;
|
||||
return EFI_NOT_FOUND;
|
||||
|
Reference in New Issue
Block a user