summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2023-04-04 14:52:56 -0400
committerMatt Caswell <matt@openssl.org>2024-04-24 14:08:03 +0100
commitd10b020e2e389f4e5f5c84ce8d4512536dd3027a (patch)
tree7f5aad5a46495fa25e1aaf9ac8505f83993773d9 /test
parentf90d97caab451a49613742c09d3ec1e4e2dcf6bc (diff)
fuzz: Add attribute certificate fuzz test
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15857)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/99-test_fuzz_acert.t22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/recipes/99-test_fuzz_acert.t b/test/recipes/99-test_fuzz_acert.t
new file mode 100644
index 0000000000..f62be1ec69
--- /dev/null
+++ b/test/recipes/99-test_fuzz_acert.t
@@ -0,0 +1,22 @@
+#!/usr/bin/env perl
+# Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the Apache License 2.0 (the "License"). You may not use
+# this file except in compliance with the License. You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
+use strict;
+use warnings;
+
+use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test::Utils;
+
+my $fuzzer = "acert";
+setup("test_fuzz_${fuzzer}");
+
+plan tests => 2; # one more due to below require_ok(...)
+
+require_ok(srctop_file('test','recipes','fuzz.pl'));
+
+fuzz_ok($fuzzer);