Line | Count | Source |
1 | /* | |
2 | * (C) 2015,2016 Jack Lloyd | |
3 | * | |
4 | * Botan is released under the Simplified BSD License (see license.txt) | |
5 | */ | |
6 | ||
7 | #include "fuzzers.h" | |
8 | ||
9 | #include <botan/tls_messages.h> | |
10 | ||
11 | 26.5k | void fuzz(std::span<const uint8_t> in) { |
12 | 26.5k | try { |
13 | 26.5k | std::vector<uint8_t> v(in.begin(), in.end()); |
14 | 26.5k | Botan::TLS::Client_Hello_12 ch(v); // TODO: We might want to do that for TLS 1.3 as well |
15 | 26.5k | } catch(Botan::Exception& e) {} |
16 | 26.5k | } |