30-test_hpke.t 670 B

1234567891011121314151617181920
  1. #! /usr/bin/env perl
  2. # Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
  3. # Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
  4. #
  5. # Licensed under the Apache License 2.0 (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 strict;
  10. use OpenSSL::Test; # get 'plan'
  11. use OpenSSL::Test::Simple;
  12. use OpenSSL::Test::Utils;
  13. setup("test_hpke");
  14. plan skip_all => "This test is unsupported in a no-ec build"
  15. if disabled("ec");
  16. simple_test("test_hpke", "hpke_test");