From cd11c57cc495b47b4eba2bf485ee4cba6c4ac2f9 Mon Sep 17 00:00:00 2001 From: Tal Aloni Date: Mon, 5 Jun 2017 21:28:55 +0300 Subject: [PATCH] Corrected exception message --- SMBLibrary/Win32/Security/SSPIHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMBLibrary/Win32/Security/SSPIHelper.cs b/SMBLibrary/Win32/Security/SSPIHelper.cs index 1385bd4..f397f74 100644 --- a/SMBLibrary/Win32/Security/SSPIHelper.cs +++ b/SMBLibrary/Win32/Security/SSPIHelper.cs @@ -321,7 +321,7 @@ namespace SMBLibrary.Win32.Security } else if (result == SEC_E_INVALID_TOKEN) { - throw new Exception("InitializeSecurityContext failed, Invalid token"); + throw new Exception("AcceptSecurityContext failed, Invalid token"); } else if (result == SEC_E_BUFFER_TOO_SMALL) {