From 51e974281116bad3992b84d120638c13fa3f0183 Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Mon, 10 Oct 2016 20:43:19 +0900 Subject: [PATCH] Fix bug on null-terminated string marshalling UnmanagedType.LPTStr -> UnmanagedType.LPStr Change-Id: I616c69d5c9a0335c2b6473ce726337be9ee6b3a9 Signed-off-by: Kyungwook Tak --- Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs b/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs index da427c1..69fbfb0 100644 --- a/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs +++ b/Tizen.Security.SecureRepository/Interop/Interop.CkmcTypes.cs @@ -27,7 +27,7 @@ internal static partial class Interop this.password = password; this.extractable = extractable; } - [MarshalAs(UnmanagedType.LPTStr)] + [MarshalAs(UnmanagedType.LPStr)] public readonly string password; [MarshalAs(UnmanagedType.Bool)] public readonly bool extractable; -- 2.7.4