]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/06-test-rdrand.t
Create provider errors and use them
[thirdparty/openssl.git] / test / recipes / 06-test-rdrand.t
CommitLineData
082193ef
BD
1#! /usr/bin/perl
2
b0edda11 3# Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
082193ef 4#
909f1a2e 5# Licensed under the Apache License 2.0 (the "License"). You may not use
082193ef
BD
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
10use strict;
11
12use OpenSSL::Test; # get 'plan'
13use OpenSSL::Test::Simple;
14use OpenSSL::Test::Utils;
15
16setup("test_rdrand_sanity");
17
082193ef
BD
18# We also need static builds to be enabled even on linux
19plan skip_all => "This test is unsupported if static builds are not enabled"
20 if disabled("static");
21
22simple_test("test_rdrand_sanity", "rdrand_sanitytest");