Bug 225476. Fix for deleting secrets.

This commit is contained in:
Jim Norman 2006-12-05 09:51:28 +00:00
parent 286f1ee10e
commit f77c6b51ab

View File

@ -929,12 +929,11 @@ namespace Novell.CASA
SSCS_KEYCHAIN_ID_T keyChainID = new SSCS_KEYCHAIN_ID_T();
keyChainID.keychainID = sKeyChainID;
keyChainID.len = sKeyChainID.Length + 1;
SSCS_PASSWORD_T epPassword = null;
if (sEPPassword != null)
{
epPassword = new SSCS_PASSWORD_T();
keyChainID.len = sKeyChainID.Length + 1;
SSCS_PASSWORD_T epPassword = new SSCS_PASSWORD_T();
if (sEPPassword != null && sEPPassword.Length > 0)
{
epPassword.pword = sEPPassword;
epPassword.pwordLen = (uint)sEPPassword.Length + 1;
epPassword.pwordType = 0; // todo set type
@ -954,8 +953,8 @@ namespace Novell.CASA
keyChainID,
ssFlags,
secretID,
null, // EPPassword is not used. Fix this if/when it is.
null);
epPassword, // EPPassword is not used. Fix this if/when it is.
ext);
return rcode;