diff options
Diffstat (limited to 'fuzz/tls_client_config.h')
-rw-r--r-- | fuzz/tls_client_config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fuzz/tls_client_config.h b/fuzz/tls_client_config.h new file mode 100644 index 000000000..9cf3cf208 --- /dev/null +++ b/fuzz/tls_client_config.h @@ -0,0 +1,24 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef tls_client_config_h__ +#define tls_client_config_h__ + +#include <stdint.h> +#include <cstddef> + +class ClientConfig { + public: + ClientConfig(const uint8_t* data, size_t len); + + bool FailCertificateAuthentication(); + bool EnableExtendedMasterSecret(); + bool RequireDhNamedGroups(); + bool EnableFalseStart(); + + private: + uint64_t config_; +}; + +#endif // tls_client_config_h__ |