]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/60-test_x509_dup_cert.t
Add test cases for the non CA certificate with pathlen:0
[thirdparty/openssl.git] / test / recipes / 60-test_x509_dup_cert.t
CommitLineData
c0452248
RS
1#! /usr/bin/env perl
2# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
5aba2b6e 3# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
c0452248 4#
909f1a2e 5# Licensed under the Apache License 2.0 (the "License"). You may not use
c0452248
RS
6# this file except in compliance with the License. You can obtain a copy
7# in the file LICENSE in the source distribution or at
8# https://www.openssl.org/source/license.html
c0452248
RS
9
10
11use OpenSSL::Test qw/:DEFAULT srctop_file/;
12
13setup("test_x509_dup_cert");
14
15plan tests => 1;
16
17ok(run(test(["x509_dup_cert_test", srctop_file("test", "certs", "leaf.pem")])));