diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-21 02:26:57 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-21 02:26:57 +0200 |
commit | 40360a992d03ccccf69a36fa20359ad029b3afcf (patch) | |
tree | 30c26fc89c630c1be1f701a3ccb1b734f8271448 /sys/man/2 | |
parent | a1bbf39c341e0b7ae0c999b0a34c85ab157aa6c9 (diff) |
libsec: implement tlsClient support for RFC6066 server name identification (SNI)
tlsClient() now can optionally send the server_name in the ClientHello
message by setting the TLSconn.serverName. This is required for some
https sites.
Diffstat (limited to 'sys/man/2')
-rw-r--r-- | sys/man/2/pushtls | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/man/2/pushtls b/sys/man/2/pushtls index cf9ad21ff..dfa01e4dd 100644 --- a/sys/man/2/pushtls +++ b/sys/man/2/pushtls @@ -107,6 +107,7 @@ typedef struct TLSconn { uchar *sessionKey; /* opt IN/OUT session key */ int sessionKeylen; /* opt IN session key length */ char *sessionConst; /* opt IN session constant */ + char *serverName; /* opt IN server name */ } TLSconn; .EE .PP |