Fix SNI on unicode Delphi: https://sourceforge.net/tracker/?func=detail&atid=701386&aid=3464355&group_id=125224
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@148 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
3caad66c4b
commit
adf25d6b20
@ -515,7 +515,7 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
if SNIHost<>'' then
|
||||
SSLCtrl(Fssl, SSL_CTRL_SET_TLSEXT_HOSTNAME, TLSEXT_NAMETYPE_host_name, pchar(SNIHost));
|
||||
SSLCtrl(Fssl, SSL_CTRL_SET_TLSEXT_HOSTNAME, TLSEXT_NAMETYPE_host_name, PAnsiChar(SNIHost));
|
||||
x := sslconnect(FSsl);
|
||||
if x < 1 then
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user