mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
minor refactor
This commit is contained in:
@@ -50,8 +50,7 @@ namespace mRemoteNG.Tools
|
||||
return Status;
|
||||
}
|
||||
|
||||
var certificate = X509Certificate.CreateFromSignedFile(FilePath);
|
||||
var certificate2 = new X509Certificate2(certificate);
|
||||
var certificate2 = new X509Certificate2(X509Certificate.CreateFromSignedFile(FilePath));
|
||||
_thumbprint = certificate2.Thumbprint;
|
||||
if (_thumbprint != ThumbprintToMatch)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user