Skip to content

Commit

Permalink
Merge pull request #7 from synchronicbed/Synchronic_SAM-SE_v1.3.0
Browse files Browse the repository at this point in the history
Add Synchronic SAM-SE Plugin version v1.3.0
  • Loading branch information
Maxhy committed Apr 11, 2024
2 parents 0c7cf48 + e721b30 commit ab88edb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions KeyManager.Library.KeyStore.SAM_SE/SAM_SEKeyStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,17 @@ public override Task<IList<KeyEntryId>> GetAll(KeyEntryClass? keClass = null)
}
}
}
//Update enabled conf depending on the linked objects
UpdateConfEnabled();
try
{
//Update enabled conf depending on the linked objects
UpdateConfEnabled();
}
catch (KeyStoreException)
{
//Do nothing. This try catch is just here to not throw an error when the user opens
//KeyManager with a not up-to-date SAM-SE (v1.6.0) and gets an error right away ...
}

}

log.Info(String.Format("{0} key entries returned.", entries.Count));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Leosac.KeyManager.Library.KeyStore.SAM_SE
public class SAM_SEKeyStoreFactory : KeyStoreFactory
{
private readonly uint MAJOR = 1;
private readonly uint MINOR = 2;
private readonly uint MINOR = 3;
private readonly uint DVL = 0;
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod()?.DeclaringType);

Expand Down

0 comments on commit ab88edb

Please sign in to comment.