]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c
CryptoPkg: Apply uncrustify changes
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLibOnProtocolPpi / DxeCryptLib.c
index b503a5708bdbc72fec2c1328654d2deab2174625..dc7527bb01e91eb7563a3301f78ae2274ce12223 100644 (file)
@@ -57,8 +57,8 @@ DxeCryptLibConstructor (
                   (VOID **)&mCryptoProtocol\r
                   );\r
 \r
-  if (EFI_ERROR (Status) || mCryptoProtocol == NULL) {\r
-    DEBUG((DEBUG_ERROR, "[DxeCryptLib] Failed to locate Crypto Protocol. Status = %r\n", Status));\r
+  if (EFI_ERROR (Status) || (mCryptoProtocol == NULL)) {\r
+    DEBUG ((DEBUG_ERROR, "[DxeCryptLib] Failed to locate Crypto Protocol. Status = %r\n", Status));\r
     ASSERT_EFI_ERROR (Status);\r
     ASSERT (mCryptoProtocol != NULL);\r
     mCryptoProtocol = NULL;\r
@@ -67,7 +67,7 @@ DxeCryptLibConstructor (
 \r
   Version = mCryptoProtocol->GetVersion ();\r
   if (Version < EDKII_CRYPTO_VERSION) {\r
-    DEBUG((DEBUG_ERROR, "[DxeCryptLib] Crypto Protocol unsupported version %d\n", Version));\r
+    DEBUG ((DEBUG_ERROR, "[DxeCryptLib] Crypto Protocol unsupported version %d\n", Version));\r
     ASSERT (Version >= EDKII_CRYPTO_VERSION);\r
     mCryptoProtocol = NULL;\r
     return EFI_NOT_FOUND;\r