Sync to trunk (r44371)
[reactos.git] / reactos / dll / win32 / crypt32 / decode.c
index a16d89f..31a21fb 100644 (file)
@@ -361,8 +361,8 @@ static BOOL CRYPT_AsnDecodeSequenceItems(struct AsnDecodeSequenceItem items[],
                                 items[i].size = items[i].minSize;
                             else if (items[i].size > items[i].minSize)
                             {
-                                /* Account for alignment padding */
-                                items[i].size = ALIGN_DWORD_PTR(items[i].size);
+                            /* Account for alignment padding */
+                            items[i].size = ALIGN_DWORD_PTR(items[i].size);
                             }
                             TRACE("item %d size: %d\n", i, items[i].size);
                             if (nextData && items[i].hasPointer &&
@@ -1464,7 +1464,7 @@ static BOOL WINAPI CRYPT_AsnDecodeExtensions(DWORD dwCertEncodingType,
 
         ret = CRYPT_AsnDecodeArray(&arrayDesc, pbEncoded, cbEncoded,
          dwFlags, pDecodePara, pvStructInfo, pcbStructInfo, NULL);
-    }
+            }
     __EXCEPT_PAGE_FAULT
     {
         SetLastError(STATUS_ACCESS_VIOLATION);
@@ -1928,7 +1928,7 @@ static BOOL WINAPI CRYPT_AsnDecodeName(DWORD dwCertEncodingType,
                 ret = CRYPT_AsnDecodeArray(&arrayDesc, pbEncoded, cbEncoded,
                  dwFlags & ~CRYPT_DECODE_ALLOC_FLAG, NULL, pvStructInfo,
                  &bytesNeeded, NULL);
-            }
+    }
         }
     }
     __EXCEPT_PAGE_FAULT
@@ -2023,7 +2023,7 @@ static BOOL WINAPI CRYPT_AsnDecodeUnicodeName(DWORD dwCertEncodingType,
                 ret = CRYPT_AsnDecodeArray(&arrayDesc, pbEncoded, cbEncoded,
                  dwFlags & ~CRYPT_DECODE_ALLOC_FLAG, NULL, pvStructInfo,
                  &bytesNeeded, NULL);
-            }
+    }
         }
     }
     __EXCEPT_PAGE_FAULT
@@ -2347,7 +2347,7 @@ static BOOL WINAPI CRYPT_AsnDecodeSMIMECapabilities(DWORD dwCertEncodingType,
 
         ret = CRYPT_AsnDecodeArray(&arrayDesc, pbEncoded, cbEncoded,
          dwFlags, pDecodePara, pvStructInfo, pcbStructInfo, NULL);
-    }
+            }
     __EXCEPT_PAGE_FAULT
     {
         SetLastError(STATUS_ACCESS_VIOLATION);
@@ -2819,7 +2819,7 @@ static BOOL WINAPI CRYPT_AsnDecodePKCSAttributes(DWORD dwCertEncodingType,
 
         ret = CRYPT_AsnDecodeArray(&arrayDesc, pbEncoded, cbEncoded,
          dwFlags, pDecodePara, pvStructInfo, pcbStructInfo, NULL);
-    }
+            }
     __EXCEPT_PAGE_FAULT
     {
         SetLastError(STATUS_ACCESS_VIOLATION);
@@ -2996,7 +2996,7 @@ static BOOL CRYPT_AsnDecodeAltNameEntry(const BYTE *pbEncoded, DWORD cbEncoded,
                 ret = FALSE;
             }
             else
-                bytesNeeded += (dataLen + 1) * sizeof(WCHAR);
+            bytesNeeded += (dataLen + 1) * sizeof(WCHAR);
             break;
         case 4: /* directoryName */
         case 7: /* iPAddress */