aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_reader.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for supported versions extension from TLS 1.3Jack Lloyd2019-05-241-3/+3
|
* Add wrappers for reinterpret_cast between char* and uint8_t*Jack Lloyd2017-10-031-2/+2
| | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for.
* Apply final annotations to the library alsoJack Lloyd2017-09-221-1/+1
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-17/+17
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Fix return type of TLS_Reader::get_u32bitJack Lloyd2016-04-211-2/+2
| | | | | | Only affects decoding of session ticket lifetimes. GH #478
* Missing addsJack Lloyd2015-12-111-1/+0
|
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-111-2/+2
| | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43
* Fix bug causing TLS client to sometimes reject DHE server kexJack Lloyd2015-11-131-0/+2
| | | | | | Re-encoding the server key exchange meant that any leading zeros in the values for DHE (or SRP) would be stripped out. This would cause the signature check to fail.
* lib/tls: Convert &vec[0] to vec.data()Simon Warta2015-06-231-3/+3
|
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Support setting the number of pad bytes in a heartbeat message. Uselloyd2015-01-071-6/+5
| | | | | random instead of all-zero padding. Check on sanity of received pads to the extent possible. Bugzilla 269.
* Add support for DTLS handshake timeouts and retransmissions.lloyd2014-10-061-2/+2
|
* Compile fixlloyd2014-04-131-2/+2
|
* Have TLS_Data_Reader decoding errors include the actual msg type namelloyd2014-04-121-26/+31
|
* Move lib into srclloyd2014-01-101-0/+226