ensured that the rootnodeinfo is not null during decryption

This commit is contained in:
David Sparer
2016-11-21 09:25:43 -07:00
parent dbcf15e45b
commit b1c697ea09

View File

@@ -29,7 +29,7 @@ namespace mRemoteNG.Config.Serializers
//TODO find way to inject data source info
private string ConnectionFileName = "";
private const double MaxSupportedConfVersion = 2.6;
private RootNodeInfo _rootNodeInfo;
private RootNodeInfo _rootNodeInfo = new RootNodeInfo(RootNodeType.Connection);
public Func<SecureString> AuthenticationRequestor { get; set; }