diff options
Diffstat (limited to 'lib/ext/alpn.h')
-rw-r--r-- | lib/ext/alpn.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/ext/alpn.h b/lib/ext/alpn.h index 5784f1de9c..739879a2d1 100644 --- a/lib/ext/alpn.h +++ b/lib/ext/alpn.h @@ -25,14 +25,13 @@ #define MAX_ALPN_PROTOCOLS 8 #define MAX_ALPN_PROTOCOL_NAME 32 -typedef struct -{ - uint8_t protocols[MAX_ALPN_PROTOCOLS][MAX_ALPN_PROTOCOL_NAME]; - unsigned protocol_size[MAX_ALPN_PROTOCOLS]; - unsigned size; - uint8_t *selected_protocol; - unsigned selected_protocol_size; - unsigned flags; +typedef struct { + uint8_t protocols[MAX_ALPN_PROTOCOLS][MAX_ALPN_PROTOCOL_NAME]; + unsigned protocol_size[MAX_ALPN_PROTOCOLS]; + unsigned size; + uint8_t *selected_protocol; + unsigned selected_protocol_size; + unsigned flags; } alpn_ext_st; extern extension_entry_st ext_mod_alpn; |