#1 2025-05-02 20:36:29

Mo0211
Member
Registered: 2018-12-30
Posts: 29

httpget with openssl 3.5 not working

Hello guys,

is mormot 2.2 with openssl 3.5 compatible?
I thought that mormot works with every openssl version or is this not correct?

When i run a httpget with a new compiled openssl-version 3.5 then the response is empty.

Thanks for a quick information if i dismissed any information regarding this topic smile

Offline

#2 2025-05-03 07:48:15

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,005
Website

Re: httpget with openssl 3.5 not working

mORMot 2.3 / trunk should work.
But perhaps not mORMot 2.2, which is quite older than OpenSSL 3.5 for sure.

On my side, it works for instance on Win32 + Delphi XE2:
https://gist.github.com/synopse/268a82e … 3ef7c89fe3

Using mORMot 2.3.10884 2 May 2025 and OpenSSL 3.5.0 8 Apr 2025

Offline

#3 2025-05-03 08:12:49

Mo0211
Member
Registered: 2018-12-30
Posts: 29

Re: httpget with openssl 3.5 not working

thanks ab.
Maybe i need to update, because as i wrote i use an not current version (something like 2.2).
But i added a few functions to the openssl functionality.

are you able to also add them into the git?

For example those:


function EVP_bf_cbc(): PEVP_CIPHER; cdecl;
function OSSL_PROVIDER_load(libctx: POSSL_LIB_CTX; name: PAnsiChar): POSSL_PROVIDER; cdecl;
function EVP_CIPHER_CTX_set_key_length(x: PEVP_CIPHER_CTX;keylen: integer): integer; cdecl;
function OpenSSL_version(typ: integer): PUtf8Char; cdecl;
RAND_seed: function(buf: PByte; num: integer): integer; cdecl;

i have the code available, but i'm sure it is not 100% direct usable by you.
What is the best way?

Offline

#4 2025-05-05 21:23:54

Mo0211
Member
Registered: 2018-12-30
Posts: 29

Re: httpget with openssl 3.5 not working

hello ab,

i merged the really small code parts in the new version of mormot2.3 now, but i don't have a public git to create a pull request.
Can i send you the changed file or upload it so you can have a quick check?

it is only this file: mormot.lib.openssl11.pas

Thank you for your help - really appreciated!

Offline

#5 2025-05-06 06:36:12

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,005
Website

Re: httpget with openssl 3.5 not working

You can just create a gist with the missing entries, and I will look into it.

Offline

#6 2025-05-08 13:03:43

Mo0211
Member
Registered: 2018-12-30
Posts: 29

Re: httpget with openssl 3.5 not working

Hey ab,

i hope this is enough for your - if not, let me know:

https://gist.github.com/Moe-source/0afa … e543b357aa

Offline

#7 2025-05-08 14:44:53

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,005
Website

Re: httpget with openssl 3.5 not working

Offline

#8 2025-05-08 18:02:47

Mo0211
Member
Registered: 2018-12-30
Posts: 29

Re: httpget with openssl 3.5 not working

thank you very, very much!
Seems to work smile

Offline

Board footer

Powered by FluxBB