diff options
author | Valentin Bartenev <vbart@nginx.com> | 2021-08-25 10:33:32 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2021-08-25 10:33:32 +0300 |
commit | dbc5a742fdcf3f95da46510ac59ead44276fbc68 (patch) | |
tree | 55386e0dafe43151223d05a94ae911793bbb91a5 /src/nxt_tls.h | |
parent | f50b07c21ddca7b834fb09e47067fde71c93d631 (diff) | |
download | unit-dbc5a742fdcf3f95da46510ac59ead44276fbc68.tar.gz unit-dbc5a742fdcf3f95da46510ac59ead44276fbc68.tar.bz2 |
TLS: refactored nxt_tls_ticket_key_callback().
Deduplicated code and improved style.
No functional changes.
Diffstat (limited to 'src/nxt_tls.h')
-rw-r--r-- | src/nxt_tls.h | 14 |
1 files changed, 0 insertions, 14 deletions
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; |