summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_tls.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2021-08-25 10:33:32 +0300
committerValentin Bartenev <vbart@nginx.com>2021-08-25 10:33:32 +0300
commitdbc5a742fdcf3f95da46510ac59ead44276fbc68 (patch)
tree55386e0dafe43151223d05a94ae911793bbb91a5 /src/nxt_tls.h
parentf50b07c21ddca7b834fb09e47067fde71c93d631 (diff)
downloadunit-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.h14
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;