1 2 3 4 5 6 7 8 9 10 11
/* ISC license. */ #include <bearssl.h> #include <s6-networking/sbearssl.h> void sbearssl_sctx_set_policy_sni (br_ssl_server_context *sc, sbearssl_sni_policy_context *pol) { sc->chain_handler.vtable = pol->vtable ; sc->policy_vtable = &pol->vtable ; }