diff --git a/AppView/FormMain.Designer.cs b/AppView/FormMain.Designer.cs index bec8d09..46f7dfb 100644 --- a/AppView/FormMain.Designer.cs +++ b/AppView/FormMain.Designer.cs @@ -234,7 +234,7 @@ groupBox1.Size = new Size(513, 191); groupBox1.TabIndex = 21; groupBox1.TabStop = false; - groupBox1.Text = "Проверка подписи"; + groupBox1.Text = "Подпись документа"; // // groupBox2 // @@ -252,7 +252,7 @@ groupBox2.Size = new Size(507, 222); groupBox2.TabIndex = 22; groupBox2.TabStop = false; - groupBox2.Text = "groupBox2"; + groupBox2.Text = "Проверка подписи"; // // buttonCert2 // diff --git a/Library/Engine.cs b/Library/Engine.cs index ebabb81..bd34343 100644 --- a/Library/Engine.cs +++ b/Library/Engine.cs @@ -138,7 +138,6 @@ public class Engine fstream.Close(); if (!Cryptography.VerifySignedDataByCertIssuer(signature, open_key_path.GetPublicCert(), out var data)) { - return true; } else @@ -150,6 +149,5 @@ public class Engine { return false; } - return false; } } \ No newline at end of file