логика

This commit is contained in:
Данила Селяев 2023-05-25 00:11:32 +04:00
parent f65c88526e
commit 95eec90e5c

View File

@ -138,11 +138,11 @@ public class Engine
if (Cryptography.VerifySignedDataByCertIssuer(signature, open_key_path.GetPublicCert(), out var data)) if (Cryptography.VerifySignedDataByCertIssuer(signature, open_key_path.GetPublicCert(), out var data))
{ {
if (data != null) if (data != null)
return true; return false;
} }
else else
{ {
return false; return true;
} }
} }
catch (Exception ex) catch (Exception ex)