projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mbedtls: Fix setting allowed cipher suites
[project/ustream-ssl.git]
/
ustream-openssl.h
diff --git
a/ustream-openssl.h
b/ustream-openssl.h
index
ef786f2
..
afff22b
100644
(file)
--- a/
ustream-openssl.h
+++ b/
ustream-openssl.h
@@
-39,4
+39,9
@@
static inline void __ustream_ssl_update_peer_cn(struct ustream_ssl *us)
{
}
+static inline void __ustream_ssl_set_server_name(struct ustream_ssl *us)
+{
+ SSL_set_tlsext_host_name(us->ssl, us->server_name);
+}
+
#endif