diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-10-24 18:01:55 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-10-24 18:01:55 +0300 |
commit | 445fa3641e7c37afdb153906b5db0a0c74713b97 (patch) | |
tree | 1bc48b9640cdc4702708d207a23f863bf738e0ca /lib/gnutls_int.h | |
parent | cad80e6184135ea65f6f46a9abf9c1534486deab (diff) | |
download | gnutls-445fa3641e7c37afdb153906b5db0a0c74713b97.tar.gz |
lib: simplify uint24 handling
Drop separate uint24 type and functions to convert between it and
uint32_t. This makes _gnutls_read/_write_uint24 simpler and easier to
understand. And with faster assembly code.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 3b683a1de1..6a5b61cc69 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -263,10 +263,6 @@ typedef enum record_send_state_t { #define GNUTLS_KX_INVALID (-1) -typedef struct { - uint8_t pint[3]; -} uint24; - #include <mpi.h> typedef enum handshake_state_t { STATE0 = 0, STATE1, STATE2, |