From a5029dbdd96e2b8cb630b4cd87713598ebf3b9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Wed, 20 Jul 2022 13:16:13 +0200 Subject: [PATCH] SEBWIN-510: Reverted attempt to fix interop issue. --- SafeExamBrowser.Configuration/Integrity/IntegrityModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeExamBrowser.Configuration/Integrity/IntegrityModule.cs b/SafeExamBrowser.Configuration/Integrity/IntegrityModule.cs index a3bfa030..9cbcfb05 100644 --- a/SafeExamBrowser.Configuration/Integrity/IntegrityModule.cs +++ b/SafeExamBrowser.Configuration/Integrity/IntegrityModule.cs @@ -74,7 +74,7 @@ namespace SafeExamBrowser.Configuration.Integrity [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs(UnmanagedType.BStr)] - private static extern string CalculateBrowserExamKey([MarshalAs(UnmanagedType.LPStr)] string configurationKey, [MarshalAs(UnmanagedType.LPStr)] string salt); + private static extern string CalculateBrowserExamKey(string configurationKey, string salt); [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)] private static extern bool VerifyCodeSignature();