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.
This commit is contained in:
parent
a1bbf39c34
commit
40360a992d
3 changed files with 93 additions and 15 deletions
|
@ -383,6 +383,7 @@ typedef struct TLSconn{
|
|||
uchar *sessionKey;
|
||||
int sessionKeylen;
|
||||
char *sessionConst;
|
||||
char *serverName;
|
||||
} TLSconn;
|
||||
|
||||
/* tlshand.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue