summaryrefslogtreecommitdiff
path: root/src/sbearssl/sbearssl-internal.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-06-01 21:28:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-06-01 21:28:40 +0000
commit661251d70c70a15ba4d1bc3edf8858aa200d2105 (patch)
treede89a97b17397864f1f90dc81b235b87913d8e13 /src/sbearssl/sbearssl-internal.h
parent30b4a97f1f62cf4798e2b372c33a37e8dd3427ff (diff)
parent1191557c30af6326fc5fae7f02167375043bb293 (diff)
downloads6-networking-661251d70c70a15ba4d1bc3edf8858aa200d2105.tar.xz
Merge branch 'dev'
This add full client certificate support, as well as tentative SNI functionality
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