60-test_x509_dup_cert.t 586 B

1234567891011121314151617
  1. #! /usr/bin/env perl
  2. # Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  3. # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
  4. #
  5. # Licensed under the OpenSSL license (the "License"). You may not use
  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
  9. use OpenSSL::Test qw/:DEFAULT srctop_file/;
  10. setup("test_x509_dup_cert");
  11. plan tests => 1;
  12. ok(run(test(["x509_dup_cert_test", srctop_file("test", "certs", "leaf.pem")])));