OpenSSL 3

Hi,

any roadmaps on OpenSSL 3 support?

Best Regards

Hi,

according to wiki, it should be fully compatible.
try to change library names inside uROOpenSSLApi.pas with OpenSSL v3 names:

{$IFDEF MSWINDOWS}
  {$IFDEF CPU64}
    s_libssl = 'libssl-1_1-x64.dll';
    s_libcrypto = 'libcrypto-1_1-x64.dll';
  {$ELSE}
    s_libssl = 'libssl-1_1.dll';
    s_libcrypto = 'libcrypto-1_1.dll';
  {$ENDIF}
{$ENDIF}

Logged as bugs://D19194.

Hi EvgenyK

Thank you very much!

I’ll do some tests and update you

Hi EvgenyK,

I tried and work. but when I close the service it raise an Access Violation.

The problem is in the openssl_finalize when call _FIPS_mode_set(0);

if g_LoadedSSL then begin
_FIPS_mode_set(0);
_CONF_modules_unload(1);
end;

Hi,

The function calls ‘FIPS_mode()’ and ‘FIPS_mode_set()’ have been removed from OpenSSL 3.0. You should rewrite your application to not use them. See the sections below on how to write applications to use the FIPS Module in OpenSSL 3.0.

update it with

  if assigned(_FIPS_mode_set) then _FIPS_mode_set(0);
1 Like

Thank you very much EvgenyK!!!

bugs://D19194 was closed as fixed.

1 Like