Skip to content

Commit 2879342

Browse files
committed
fix: fix line ending in debug messages
1 parent acb0a0b commit 2879342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/eps2003cspif/hashing.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DLLENTRY(HRESULT) SHA256(BYTE *pbData, DWORD cbData, BYTE **ppbHash, DWORD *pcbH
5757
status = BCryptOpenAlgorithmProvider(&hAlg, BCRYPT_SHA256_ALGORITHM, nullptr, 0);
5858
if (!NT_SUCCESS(status))
5959
{
60-
_RPT1(_CRT_WARN, "BCryptOpenAlgorithmProvider failed with NTSTATUS 0x%x", status);
60+
_RPT1(_CRT_WARN, "BCryptOpenAlgorithmProvider failed with NTSTATUS 0x%x\n", status);
6161
hr = HRESULT_FROM_NT(status);
6262
goto done;
6363
}
@@ -66,7 +66,7 @@ DLLENTRY(HRESULT) SHA256(BYTE *pbData, DWORD cbData, BYTE **ppbHash, DWORD *pcbH
6666
status = BCryptCreateHash(hAlg, &hHash, nullptr, 0, nullptr, 0, 0);
6767
if (!NT_SUCCESS(status))
6868
{
69-
_RPT1(_CRT_WARN, "BCryptCreateHash failed with NTSTATUS 0x%x", status);
69+
_RPT1(_CRT_WARN, "BCryptCreateHash failed with NTSTATUS 0x%x\n", status);
7070
hr = HRESULT_FROM_NT(status);
7171
goto done;
7272
}
@@ -75,7 +75,7 @@ DLLENTRY(HRESULT) SHA256(BYTE *pbData, DWORD cbData, BYTE **ppbHash, DWORD *pcbH
7575
status = BCryptHashData(hHash, pbData, cbData, 0);
7676
if (!NT_SUCCESS(status))
7777
{
78-
_RPT1(_CRT_WARN, "BCryptHashData failed with NTSATUS 0x%x", status);
78+
_RPT1(_CRT_WARN, "BCryptHashData failed with NTSATUS 0x%x\n", status);
7979
hr = HRESULT_FROM_NT(status);
8080
goto done;
8181
}
@@ -84,7 +84,7 @@ DLLENTRY(HRESULT) SHA256(BYTE *pbData, DWORD cbData, BYTE **ppbHash, DWORD *pcbH
8484
status = BCryptFinishHash(hHash, pbHash, SHA256_SIZE, 0);
8585
if (!NT_SUCCESS(status))
8686
{
87-
_RPT1(_CRT_WARN, "BCryptFinishHash failed with NTSATUS 0x%x", status);
87+
_RPT1(_CRT_WARN, "BCryptFinishHash failed with NTSATUS 0x%x\n", status);
8888
hr = HRESULT_FROM_NT(status);
8989
goto done;
9090
}

0 commit comments

Comments
 (0)