aboutsummaryrefslogtreecommitdiffstats
path: root/test/recipes
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-06-08 11:37:06 -0400
committerRich Salz <rsalz@openssl.org>2016-06-08 11:37:06 -0400
commite417070c9f2162594e8289aed93bd5801e70e60d (patch)
treea156f6cfc17a9455b7e9afd6375ec0c05e79c27d /test/recipes
parent01d0e241dc4184a5a1f222f8eccdad11da12305a (diff)
downloadopenssl-e417070c9f2162594e8289aed93bd5801e70e60d.tar.gz
Add some accessor API's
GH1098: Add X509_get_pathlen() (and a test) GH1097: Add SSL_is_dtls() function. Documented. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/recipes')
-rw-r--r--test/recipes/25-test_x509.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/25-test_x509.t b/test/recipes/25-test_x509.t
index 3ff187dda1..98a8d324e9 100644
--- a/test/recipes/25-test_x509.t
+++ b/test/recipes/25-test_x509.t
@@ -15,7 +15,7 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/;
setup("test_x509");
-plan tests => 4;
+plan tests => 5;
require_ok(srctop_file('test','recipes','tconversion.pl'));
@@ -28,3 +28,7 @@ subtest 'x509 -- first x.509 v3 certificate' => sub {
subtest 'x509 -- second x.509 v3 certificate' => sub {
tconversion("x509", srctop_file("test","v3-cert2.pem"));
};
+
+subtest 'x509 -- pathlen' => sub {
+ ok(run(test(["v3ext", srctop_file("test/certs", "pathlen.pem")])));
+}