]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Adjust printing options as we print pubkey only
authorDmitry Belyavskiy <beldmit@gmail.com>
Sat, 6 Feb 2021 16:34:18 +0000 (17:34 +0100)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 6 Feb 2021 16:34:18 +0000 (17:34 +0100)
test/04-pkey.t

index b4897e9ea796fa5a53b07ae4d21f75ae2aecec1c..78f070e73f42f392bf85ad795d819dc93ed3bcc4 100644 (file)
@@ -133,10 +133,10 @@ ENjS+gA=
         print $F $pubkey;
         close $F;
         #3. Прочитать публичный и напечать его в виде текста
-        is(`openssl pkey -pubin -noout -in tmp.pem -text`,$pubtext,
+        is(`openssl pkey -pubin -noout -in tmp.pem -text_pub`,$pubtext,
             "Read and print public key $alg:$paramset");
     }
-    unlink "tmp.pem";
+    #unlink "tmp.pem";
 };
 
 #4. Сгенерировать ключ два раза (для всех алгоритов и параметров).