summaryrefslogtreecommitdiffstats
path: root/test/recipes/20-test_dhparam.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/20-test_dhparam.t')
-rw-r--r--test/recipes/20-test_dhparam.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/20-test_dhparam.t b/test/recipes/20-test_dhparam.t
index 9bd947b0ee..78a63508b3 100644
--- a/test/recipes/20-test_dhparam.t
+++ b/test/recipes/20-test_dhparam.t
@@ -19,7 +19,7 @@ setup("test_dhparam");
plan skip_all => "DH is not supported in this build"
if disabled("dh");
-plan tests => 16;
+plan tests => 17;
sub checkdhparams {
my $file = shift; #Filename containing params
@@ -171,3 +171,7 @@ SKIP: {
checkdhparams("gen-x942-0-512.der", "X9.42", 0, "DER", 512);
};
}
+
+ok(run(app(["openssl", "dhparam", "-noout", "-text"],
+ stdin => data_file("pkcs3-2-1024.pem"))),
+ "stdinbuffer input test that uses BIO_gets");