tls: code shrink

function                                             old     new   delta
xwrite_and_update_handshake_hash                      81      80      -1
tls_handshake                                       1987    1957     -30

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2018-11-25 14:45:55 +01:00
parent a33b008240
commit eb53d01be5
2 changed files with 12 additions and 16 deletions

View File

@@ -752,7 +752,6 @@ typedef struct tls_state {
unsigned min_encrypted_len_on_read;
uint16_t cipher_id;
uint8_t encrypt_on_write;
unsigned MAC_size;
unsigned key_size;
unsigned IV_size;