openssl is outdated leading to error when trying to create a SSL context
Original Reporter info from Mantis: BBaz @basile.b
-
Reporter name:
Original Reporter info from Mantis: BBaz @basile.b
- Reporter name:
Description:
The version strings in openssl.pas are outdated.
Latest version supported in linux is '1.1'.
Also even with this new version the code beyound raises an ESSL exception related to the context.
Steps to reproduce:
on a linux distribution with openssl 1.1.X setup (verified to fail with a least 1.1.0g) runs this
program Project1;
uses fphttpclient;
procedure test;
var
cli: TFPHTTPClient = nil;
begin
cli := TFPHTTPClient.Create(nil);
try
cli.AddHeader('User-Agent','Mozilla/5.0 (compatible; fpweb)');
cli.SimpleGet('https://api.github.com/users/defunkt');
finally
cli.free;
end;
end;
begin
test();
end.