Registriert seit: 22. Jun 2018
2.175 Beiträge
|
AW: Indy und OpenSSL 1.1.1 für Mail-Versand
29. Jan 2023, 17:49
Ich habe gerade mal bei Github in die neueste IdSSLOpenSSLHeaders.pas von for 5 Monaten, ziemlich weit unten zu finden
Delphi-Quellcode:
{$IFDEF UNIX}
const
{This is a workaround for some Linux distributions and a few other things
where the symbolic link libbsl.so and libcrypto.so do not exist}
SSL_DLL_name = 'libssl'; {Do not localize}
SSLCLIB_DLL_name = 'libcrypto'; {Do not localize}
SSLDLLVers : array [0..10] of string = (
'.10',
'.1.0.2','.1.0.1',
// TODO: IFDEF the following for OSX only?
'.44', // MacOS LibreSSL forked from which OpenSSL version? Sometimes found ...
'.43', // MacOS LibreSSL forked from which OpenSSL version? Sometimes found ...
// TODO: Add '.41' as well?
'.35', // MacOS LibreSSL forked from OpenSSL version 1.0.1, almost always found
//
'.1.0.0','.0.9.9','.0.9.8','.0.9.7','.0.9.6'
);
SSLDLLVersChar : array [0..26] of string = ('','a','b','c','d','e','f','g','h','i',
'j','k','l','m','n','o','p','q','r',
's','t','u','v','w','x','y','z');
{$ENDIF}
{$IFDEF WINDOWS}
const
SSL_DLL_name = 'ssleay32.dll'; {Do not localize}
//The following is a workaround for an alternative name for
//one of the OpenSSL .DLL's. If you compile the .DLL's using
//mingw32, the SSL .dll might be named 'libssl32.dll' instead of
//ssleay32.dll like you would expect.
SSL_DLL_name_alt = 'libssl32.dll'; {Do not localize}
SSLCLIB_DLL_name = 'libeay32.dll'; {Do not localize}
{$ENDIF}
Heißt das, für Windows gelten noch immer die alten Namen und nur für Unix die neuen? Wie soll man Indy denn dann mit OpenSSL-DLLs 1.1.1 und 3.0.X verwenden?
|