blob: 28c77c9b6d22d6fc0f122e616d4df75700b1dedc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* (C) 2015,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "fuzzers.h"
#include <botan/tls_messages.h>
void fuzz(const uint8_t in[], size_t len)
{
try
{
std::vector<uint8_t> v(in, in + len);
Botan::TLS::Client_Hello ch(v);
}
catch(Botan::Exception& e) {}
}
|