aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/fuzzers/jigs/crl.cpp
blob: b3157e5fe53e9a12005d119e881c1c8b4d6dd4bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* (C) 2015,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "driver.h"

#include <botan/x509_crl.h>

void fuzz(const uint8_t in[], size_t len)
   {
   if(len > 4096)
      return;

   try
      {
      DataSource_Memory input(in, len);
      X509_CRL crl(input);
      }
   catch(Botan::Exception& e) { }
   }