Pierre Ossman
19df176862
Consistently use uint8_t for data buffers
These will always be byte streams at heart, so let's try to keep them
with a proper type. Should make it clearer how they will be used.
преди 1 година
Pierre Ossman
337dbc3922
Return std::string instead of dynamic allocations
We mostly use classical C strings, but the memory management around them
can get confusing and error prone. Let's use std::string for the cases
where we need to return a newly allocated string.
преди 1 година
Pierre Ossman
d98720b736
Use std::vector for basic data arrays
Avoid our own custom types in favour of what's already included with
C++.
преди 1 година
Pierre Ossman
6881c895ab
Use stdint types
Avoid having our own custom stuff and instead use the modern, standard
types, for familiarity.
преди 1 година
Pierre Ossman
bf0fb9129d
Fix CRLF line endings
Everything else uses LF line endings, so fix up the few stray ones.
преди 1 година
Dinglan Peng
6c4c7c8551
Add client-side support for the DH security type.
преди 1 година