Bug 134096
This commit is contained in:
parent
caa494c6b9
commit
c32ff61794
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 10:34:02 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug 134096, Fixed Wrapper code for proper structure marshaling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 17:01:09 MST 2005 - jnorman@novell.com
|
||||
|
||||
|
@ -765,10 +765,10 @@ miCASAOpenSecretStoreCache
|
||||
}
|
||||
else
|
||||
{
|
||||
if((ssid->ssName) && (sscs_Utf8StrSize(ssid->ssName)) == 0)
|
||||
if (sscs_Utf8StrSize(ssid->ssName) == 0)
|
||||
{
|
||||
// set to default
|
||||
// sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID);
|
||||
sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID);
|
||||
}
|
||||
|
||||
ssid->version = NSSCS_VERSION_NUMBER;
|
||||
|
@ -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
|
||||
|
@ -155,8 +155,8 @@ static SS_UTF8_T SSCS_LOCAL_REMOTE_KEY_CHAIN_ID[] = {"SSCS_LOCAL_REMOTE_KEY_CHA
|
||||
// {'S','S','C','S','_','L','O','C','A','L','_','R','E','M','O','T','E','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0};
|
||||
|
||||
|
||||
#define NSSCS_VERSION_NUMBER 0x00040000L // client version Major 04 Minor 00 Revision 01
|
||||
// the final release will be 4.0.0
|
||||
#define NSSCS_VERSION_NUMBER 0x00010000L // client version Major 04 Minor 00 Revision 01
|
||||
// the final release will be 1.0.0
|
||||
|
||||
|
||||
#define NSSCS_MIN_SECRET_BUF_LEN 3968 //* (4K-128)to match server
|
||||
|
Loading…
Reference in New Issue
Block a user