Bug 134096

This commit is contained in:
Jim Norman
2005-11-30 17:36:44 +00:00
parent caa494c6b9
commit c32ff61794
4 changed files with 12 additions and 7 deletions

View File

@@ -67,8 +67,8 @@ namespace Novell.CASA
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public class SSCS_SECRET_STORE_ID_T
{
public int len; // * max id len in bytes
[MarshalAs(UnmanagedType.LPStr, SizeConst = 512)]
public int version; // * max id len in bytes
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 512)]
public string id; // * should be passed in # of chars
};
@@ -473,7 +473,7 @@ namespace Novell.CASA
SSCS_SECRET_STORE_ID_T SSid = new SSCS_SECRET_STORE_ID_T();
SSid.id = sSecretStoreName;
SSid.len = sSecretStoreName.Length;
SSid.version = 0;
SSCS_EXT_T ext = new SSCS_EXT_T();
try