From 30d2813829b0f7c1e4549472c3ee1ddfbd7f2f52 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 13 Jul 2016 10:28:33 +0200 Subject: [PATCH] sspicli: Implement SspiFreeAuthIdentity. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/sspicli/main.c | 9 +++++++++ dlls/sspicli/sspicli.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/sspicli/main.c b/dlls/sspicli/main.c index cbbb7f1a671..cd34d287072 100644 --- a/dlls/sspicli/main.c +++ b/dlls/sspicli/main.c @@ -122,3 +122,12 @@ SECURITY_STATUS SEC_ENTRY SspiEncodeAuthIdentityAsStrings( return SEC_E_OK; } + +/*********************************************************************** + * SspiFreeAuthIdentity (SECUR32.0) + */ +void SEC_ENTRY SspiFreeAuthIdentity( PSEC_WINNT_AUTH_IDENTITY_OPAQUE opaque_id ) +{ + TRACE( "%p\n", opaque_id ); + HeapFree( GetProcessHeap(), 0, opaque_id ); +} diff --git a/dlls/sspicli/sspicli.spec b/dlls/sspicli/sspicli.spec index 6a6a24c8bd7..e7f02dfeb14 100644 --- a/dlls/sspicli/sspicli.spec +++ b/dlls/sspicli/sspicli.spec @@ -88,7 +88,7 @@ @ stub SspiEncryptAuthIdentity @ stub SspiEncryptAuthIdentityEx @ stub SspiExcludePackage -@ stub SspiFreeAuthIdentity +@ stdcall SspiFreeAuthIdentity(ptr) @ stub SspiGetComputerNameForSPN @ stub SspiGetTargetHostName @ stub SspiIsAuthIdentityEncrypted