summaryrefslogtreecommitdiff
path: root/src/sbearssl/sbearssl-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbearssl/sbearssl-internal.h')
-rw-r--r--src/sbearssl/sbearssl-internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sbearssl/sbearssl-internal.h b/src/sbearssl/sbearssl-internal.h
index 21a28d7..0677caf 100644
--- a/src/sbearssl/sbearssl-internal.h
+++ b/src/sbearssl/sbearssl-internal.h
@@ -75,4 +75,15 @@ 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 ;
+} ;
+
+extern unsigned int sbearssl_choose_hash (unsigned int) ;
+
#endif