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:
@ -515,7 +515,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
if SNIHost<>'' then
|
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);
|
x := sslconnect(FSsl);
|
||||||
if x < 1 then
|
if x < 1 then
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user