Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fulgan OpenSSL libraries : prohibited access
#4
(06-13-2020, 08:12 PM)rlebeau Wrote:
(06-13-2020, 03:11 PM)controlhorus Wrote: Solved in this way:

Code:
procedure TForm.OnStatusInfoEx(ASender: TObject; const AsslSocket: PSSL;
  const AWhere, Aret: TIdC_INT; const AType, AMsg: String);
begin
    SSL_set_tlsext_host_name(AsslSocket, 'api.server.com');
end;

Indy calls SSL_set_tlsext_host_name() for you, you do not need to call it manually.  Make sure you are using an up-to-date version of Indy.

I downloaded from SVN and updated it yesterday trying to solve the problem. It is 10.6.2.0 I think. 
Code:
ShowMessage('Indy version: ' + IdHTTP1.Version);
Shows 10.6.2.0 on run.

Thank you

Hi

I fear I did not see GIT change.

I downloaded SVN and I used tag Indy 10.6.2 - XE8 RTM for update. It has not that line:

Code:
IdSSLOpenSSL.pas

error := SSL_set_tlsext_host_name(fSSL, fHostName);

Tag Indy 10.6.2 - Tokyo RTM had it. Bad luck.

I just downloaded GIT version and used Lib folders to update again. Now it is working without the added lines.

Thank you
Reply


Messages In This Thread
RE: Fulgan OpenSSL libraries : prohibited access - by controlhorus - 06-13-2020, 08:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)