mirror of
https://github.com/strophe/libstrophe.git
synced 2026-08-05 11:26:22 +00:00
Check whether the TLS stack supports channel binding.
Add a runtime check per TLS stack which returns whether channel binding is supported or not. This fixes #270 Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -75,6 +75,12 @@ int tls_set_credentials(tls_t *tls, const char *cafilename)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int tls_supports_channel_binding(tls_t *tls)
|
||||
{
|
||||
UNUSED(tls);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tls_init_channel_binding(tls_t *tls,
|
||||
const char **binding_prefix,
|
||||
size_t *binding_prefix_len)
|
||||
|
||||
Reference in New Issue
Block a user