aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzer/ocsp.cpp
blob: 0db265b8df139f70f5e46042e08eadae4452e2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
* (C) 2015,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/

#include "fuzzers.h"
#include <botan/ocsp.h>

void fuzz(const uint8_t in[], size_t len)
   {
   try
      {
      Botan::OCSP::Response response(in, len);
      }
   catch(Botan::Exception& e) { }
   }