summaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-03-16 12:11:23 +0000
committerMatt Caswell <matt@openssl.org>2017-03-16 15:37:41 +0000
commit6bc6ca623b1785653ae2e0332957f0355f496509 (patch)
treec9ce535158acaafd292a763a8cdc1379e5163f50 /test/recipes
parentd702ad121c18b43f61832318a9e61b8d42aaa06c (diff)
Add tests for the padding extension
Check that the padding extension pads correctly for various scenarios. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2968)
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/70-test_clienthello.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/recipes/70-test_clienthello.t b/test/recipes/70-test_clienthello.t
index ef0868f05a..ccb3a5a1e0 100644
--- a/test/recipes/70-test_clienthello.t
+++ b/test/recipes/70-test_clienthello.t
@@ -7,7 +7,7 @@
# https://www.openssl.org/source/license.html
-use OpenSSL::Test;
+use OpenSSL::Test qw/:DEFAULT srctop_file/;
use OpenSSL::Test::Utils;
setup("test_clienthello");
@@ -17,4 +17,5 @@ plan skip_all => "No TLS/SSL protocols are supported by this OpenSSL build"
plan tests => 1;
-ok(run(test(["clienthellotest"])), "running clienthellotest");
+ok(run(test(["clienthellotest", srctop_file("test", "session.pem")])),
+ "running clienthellotest");