git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@148 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2012-03-13 15:03:38 +00:00
parent 3caad66c4b
commit adf25d6b20

View File

@ -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