1e1051a39Sopenharmony_ci#! /usr/bin/env perl 2e1051a39Sopenharmony_ci# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. 3e1051a39Sopenharmony_ci# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 4e1051a39Sopenharmony_ci# 5e1051a39Sopenharmony_ci# Licensed under the Apache License 2.0 (the "License"). You may not use 6e1051a39Sopenharmony_ci# this file except in compliance with the License. You can obtain a copy 7e1051a39Sopenharmony_ci# in the file LICENSE in the source distribution or at 8e1051a39Sopenharmony_ci# https://www.openssl.org/source/license.html 9e1051a39Sopenharmony_ci 10e1051a39Sopenharmony_ci 11e1051a39Sopenharmony_ciuse OpenSSL::Test qw/:DEFAULT srctop_file/; 12e1051a39Sopenharmony_ci 13e1051a39Sopenharmony_cisetup("test_x509_dup_cert"); 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ciplan tests => 1; 16e1051a39Sopenharmony_ci 17e1051a39Sopenharmony_ciok(run(test(["x509_dup_cert_test", srctop_file("test", "certs", "leaf.pem")]))); 18