1400f013e1
These leaks affect 1.1.0 dev branch only; introduced around commit
f93ad22f6a
Found with LibFuzzer
Reviewed-by: Ben Laurie <ben@openssl.org>
19 lines
434 B
Perl
19 lines
434 B
Perl
#! /usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use File::Spec;
|
|
use OpenSSL::Test qw/:DEFAULT srctop_file/;
|
|
|
|
setup("test_d2i");
|
|
|
|
plan tests => 2;
|
|
|
|
ok(run(test(["d2i_test", "x509",
|
|
srctop_file('test','d2i-tests','bad_cert.der')])),
|
|
"Running d2i_test bad_cert.der");
|
|
|
|
ok(run(test(["d2i_test", "generalname",
|
|
srctop_file('test','d2i-tests','bad_generalname.der')])),
|
|
"Running d2i_test bad_generalname.der");
|