Bug 133386 fixes
This commit is contained in:
@@ -110,23 +110,23 @@ namespace Novell.CASA.DataEngines.GK
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int CreateItem(string keyringName, int itemType, string displayName, string password, IntPtr[] arrptr, int attrCount);
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int UnlockRing(string sKeyringName, string sPassword);
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int LoadGnomeKeyringLibrary();
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int ReleaseGnomeKeyringLibrary();
|
||||
|
||||
public static bool IsGnomeKeyringInstalled()
|
||||
{
|
||||
if (0 == LoadGnomeKeyringLibrary())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void ReleaseGnomeKeyringLib()
|
||||
{
|
||||
ReleaseGnomeKeyringLibrary();
|
||||
public static extern int UnlockRing(string sKeyringName, string sPassword);
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int LoadGnomeKeyringLibrary();
|
||||
[DllImport("libad_gk.so")]
|
||||
public static extern int ReleaseGnomeKeyringLibrary();
|
||||
|
||||
public static bool IsGnomeKeyringInstalled()
|
||||
{
|
||||
if (0 == LoadGnomeKeyringLibrary())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void ReleaseGnomeKeyringLib()
|
||||
{
|
||||
ReleaseGnomeKeyringLibrary();
|
||||
}
|
||||
|
||||
public static void AttemptGKUnlock(string sPassword)
|
||||
|
||||
Reference in New Issue
Block a user