Skip to content

Commit

Permalink
Fix the definition of K7PalHashDestroy.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Dec 5, 2024
1 parent f194dd8 commit 98f4a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion K7Pal/K7Pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ EXTERN_C HRESULT WINAPI K7PalHashCreate(
_In_ UINT32 SecretSize);

EXTERN_C HRESULT WINAPI K7PalHashDestroy(
_Inout_ K7_PAL_HASH_HANDLE HashHandle);
_Inout_opt_ K7_PAL_HASH_HANDLE HashHandle);

EXTERN_C HRESULT WINAPI K7PalHashUpdate(
_Inout_ K7_PAL_HASH_HANDLE HashHandle,
Expand Down
2 changes: 1 addition & 1 deletion K7Pal/K7PalHash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ EXTERN_C HRESULT WINAPI K7PalHashCreate(
}

EXTERN_C HRESULT WINAPI K7PalHashDestroy(
_Inout_ K7_PAL_HASH_HANDLE HashHandle)
_Inout_opt_ K7_PAL_HASH_HANDLE HashHandle)
{
PK7_PAL_HASH_CONTEXT Context =
::K7PalHashInternalGetContextFromHandle(HashHandle);
Expand Down

0 comments on commit 98f4a40

Please sign in to comment.