Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,261
    • Issues 1,261
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • FPC
  • FPC SourceFPC Source
  • Issues
  • #32789
Closed
Open
Created Dec 06, 2017 by FPC Admin account@fpc_adminOwner

openssl is outdated leading to error when trying to create a SSL context

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.

Mantis conversion info:

  • Mantis ID: 32789
  • OS: Fedora
  • OS Build: 27
  • Platform: amd64
  • Version: 3.0.2
  • Fixed in version: 3.3.1
  • Fixed in revision: 42864 (#3ded4677)
  • Monitored by: » @bonmario (Mario Bonati)
  • Target version: 3.2.0
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking