Bug 225476. Fix for deleting secrets.
This commit is contained in:
parent
286f1ee10e
commit
f77c6b51ab
@ -929,12 +929,11 @@ namespace Novell.CASA
|
|||||||
|
|
||||||
SSCS_KEYCHAIN_ID_T keyChainID = new SSCS_KEYCHAIN_ID_T();
|
SSCS_KEYCHAIN_ID_T keyChainID = new SSCS_KEYCHAIN_ID_T();
|
||||||
keyChainID.keychainID = sKeyChainID;
|
keyChainID.keychainID = sKeyChainID;
|
||||||
keyChainID.len = sKeyChainID.Length + 1;
|
keyChainID.len = sKeyChainID.Length + 1;
|
||||||
|
|
||||||
SSCS_PASSWORD_T epPassword = null;
|
SSCS_PASSWORD_T epPassword = new SSCS_PASSWORD_T();
|
||||||
if (sEPPassword != null)
|
if (sEPPassword != null && sEPPassword.Length > 0)
|
||||||
{
|
{
|
||||||
epPassword = new SSCS_PASSWORD_T();
|
|
||||||
epPassword.pword = sEPPassword;
|
epPassword.pword = sEPPassword;
|
||||||
epPassword.pwordLen = (uint)sEPPassword.Length + 1;
|
epPassword.pwordLen = (uint)sEPPassword.Length + 1;
|
||||||
epPassword.pwordType = 0; // todo set type
|
epPassword.pwordType = 0; // todo set type
|
||||||
@ -954,8 +953,8 @@ namespace Novell.CASA
|
|||||||
keyChainID,
|
keyChainID,
|
||||||
ssFlags,
|
ssFlags,
|
||||||
secretID,
|
secretID,
|
||||||
null, // EPPassword is not used. Fix this if/when it is.
|
epPassword, // EPPassword is not used. Fix this if/when it is.
|
||||||
null);
|
ext);
|
||||||
|
|
||||||
|
|
||||||
return rcode;
|
return rcode;
|
||||||
|
Loading…
Reference in New Issue
Block a user