summaryrefslogtreecommitdiff
path: root/src/sbearssl/sbearssl-internal.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-05-30 09:19:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-05-30 09:19:26 +0000
commite763c3ef1485404585b923365f93314aab4e8dd6 (patch)
tree53dbb23320627390527f0d0bc45278b8520c46dc /src/sbearssl/sbearssl-internal.h
parent02afa553cc33400ead38ac85f8f7f2f3fe79f49d (diff)
downloads6-networking-e763c3ef1485404585b923365f93314aab4e8dd6.tar.xz
Start work on bearssl server-side sni
Diffstat (limited to 'src/sbearssl/sbearssl-internal.h')
-rw-r--r--src/sbearssl/sbearssl-internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sbearssl/sbearssl-internal.h b/src/sbearssl/sbearssl-internal.h
index 21a28d7..d8e0c57 100644
--- a/src/sbearssl/sbearssl-internal.h
+++ b/src/sbearssl/sbearssl-internal.h
@@ -75,4 +75,13 @@ extern int sbearssl_pem_push (br_pem_decoder_context *, char const *, size_t, sb
extern sbearssl_suiteinfo const *const sbearssl_suite_list ;
extern size_t const sbearssl_suite_list_len ;
+typedef struct sbearssl_sni_policy_node_s sbearssl_sni_policy_node, *sbearssl_policy_node_ref ;
+struct sbearssl_sni_policy_node_s
+{
+ size_t servername ;
+ sbearssl_skey skey ;
+ size_t chainindex ;
+ size_t chainlen ;
+} ;
+
#endif