aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_alert.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-181-1/+1
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* Huge pile of post merge fixups, mtn really fucked that mergelloyd2012-04-251-2/+1
|
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-251-3/+11
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * Add support for TLS heartbeats (RFC 6520). Heartbeat initiations fromlloyd2012-04-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | the peer are automatically responded to. TLS::Channel::heartbeat can initiate a new heartbeat if the peer allows it. Heartbeat replies are passed back to the application processing function with an Alert value of HEARTBEAT_PAYLOAD (a 'fake' value, 256, which is out of range of the valid TLS alert space), along with the sent payload. The RFC requires us to have no more than one heartbeat 'in flight' at a time, ie without getting a response (or a timeout in the case of DTLS). Currently we do not prevent an application from requesting more.
| * Add support for the 3 alert types we didn't have codes for.lloyd2012-04-091-1/+6
| |
* | Merge fixups. Add locking to default session manager. Use chrono liblloyd2012-02-201-2/+2
|/ | | | and unique_ptr.
* Remove Alert::Level enum, replace with boollloyd2012-01-261-1/+1
|
* Change callback interface to pass the Alert object itself insteadlloyd2012-01-261-1/+70
| | | | | | of just the type code. Implement Alert::type_string
* Make Alert a first class object ala Version. Move the alert codes intolloyd2012-01-261-0/+46
the Alert class for namespacing.