diff --git a/src/Src/BouncyHsm.Core/Services/P11Handlers/FinalizeHandler.cs b/src/Src/BouncyHsm.Core/Services/P11Handlers/FinalizeHandler.cs index b6d004e..35e37e8 100644 --- a/src/Src/BouncyHsm.Core/Services/P11Handlers/FinalizeHandler.cs +++ b/src/Src/BouncyHsm.Core/Services/P11Handlers/FinalizeHandler.cs @@ -25,11 +25,14 @@ public ValueTask Handle(FinalizeRequest request, CancellationT string key = DataTransform.GetApplicationKey(request.AppId); this.clientApplicationContext.ReleaseMemorySession(key); - FinalizeEnvelope envelope = new FinalizeEnvelope() + this.logger.LogInformation("Successfully finalize memory session for application {appName} pid {pid} and nonce {appNonce}.", + request.AppId.AppName, + request.AppId.Pid, + request.AppId.AppNonce); + + return new ValueTask(new FinalizeEnvelope() { Rv = (uint)CKR.CKR_OK - }; - - return new ValueTask(envelope); + }); } } \ No newline at end of file