From: Kyungwook Tak Date: Mon, 10 Oct 2016 11:43:19 +0000 (+0900) Subject: Fix bug on null-terminated string marshalling X-Git-Tag: accepted/tizen/mobile/20161215.072348~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51e974281116bad3992b84d120638c13fa3f0183;p=platform%2Fcore%2Fcsapi%2Fsecurity.git Fix bug on null-terminated string marshalling UnmanagedType.LPTStr -> UnmanagedType.LPStr Change-Id: I616c69d5c9a0335c2b6473ce726337be9ee6b3a9 Signed-off-by: Kyungwook Tak --- 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;