From dbc5a742fdcf3f95da46510ac59ead44276fbc68 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 25 Aug 2021 10:33:32 +0300 Subject: TLS: refactored nxt_tls_ticket_key_callback(). Deduplicated code and improved style. No functional changes. --- src/nxt_tls.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/nxt_tls.h') diff --git a/src/nxt_tls.h b/src/nxt_tls.h index eeb4e7ba..e02a0aab 100644 --- a/src/nxt_tls.h +++ b/src/nxt_tls.h @@ -92,20 +92,6 @@ struct nxt_tls_init_s { }; -struct nxt_tls_ticket_s { - uint8_t aes128; - u_char name[16]; - u_char hmac_key[32]; - u_char aes_key[32]; -}; - - -struct nxt_tls_tickets_s { - nxt_uint_t count; - nxt_tls_ticket_t tickets[]; -}; - - #if (NXT_HAVE_OPENSSL) extern const nxt_tls_lib_t nxt_openssl_lib; -- cgit