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
@@ -59,8 +59,8 @@ SmmCryptLibConstructor (
|
||||
NULL,
|
||||
(VOID **)&mSmmCryptoProtocol
|
||||
);
|
||||
if (EFI_ERROR (Status) || mSmmCryptoProtocol == NULL) {
|
||||
DEBUG((DEBUG_ERROR, "[SmmCryptLib] Failed to locate Crypto SMM Protocol. Status = %r\n", Status));
|
||||
if (EFI_ERROR (Status) || (mSmmCryptoProtocol == NULL)) {
|
||||
DEBUG ((DEBUG_ERROR, "[SmmCryptLib] Failed to locate Crypto SMM Protocol. Status = %r\n", Status));
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
ASSERT (mSmmCryptoProtocol != NULL);
|
||||
mSmmCryptoProtocol = NULL;
|
||||
@@ -69,7 +69,7 @@ SmmCryptLibConstructor (
|
||||
|
||||
Version = mSmmCryptoProtocol->GetVersion ();
|
||||
if (Version < EDKII_CRYPTO_VERSION) {
|
||||
DEBUG((DEBUG_ERROR, "[SmmCryptLib] Crypto SMM Protocol unsupported version %d\n", Version));
|
||||
DEBUG ((DEBUG_ERROR, "[SmmCryptLib] Crypto SMM Protocol unsupported version %d\n", Version));
|
||||
ASSERT (Version >= EDKII_CRYPTO_VERSION);
|
||||
mSmmCryptoProtocol = NULL;
|
||||
return EFI_NOT_FOUND;
|
||||
|
Reference in New Issue
Block a user