OpenSSL 1.1.1-pre2
This commit is contained in:
@@ -8,23 +8,6 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use OpenSSL::Test;
|
||||
use OpenSSL::Test::Simple;
|
||||
|
||||
setup("test_ui");
|
||||
|
||||
plan tests => 1;
|
||||
|
||||
note <<"EOF";
|
||||
The best way to test the UI interface is currently by using an openssl
|
||||
command that uses password_callback. The only one that does this is
|
||||
'genrsa'.
|
||||
Since password_callback uses a UI method derived from UI_OpenSSL(), it
|
||||
ensures that one gets tested well enough as well.
|
||||
EOF
|
||||
|
||||
my $outfile = "rsa_$$.pem";
|
||||
ok(run(app(["openssl", "genrsa", "-passout", "pass:password", "-aes128",
|
||||
"-out", $outfile])),
|
||||
"Checking that genrsa with a password works properly");
|
||||
|
||||
unlink $outfile;
|
||||
simple_test("test_ui", "uitest", "ui");
|
||||
Reference in New Issue
Block a user