问题
I'm using indy components with D2007 and try to list subject of messages from a imap mailbox. I downloaded and installed current indy new version 10.6.0.5039 (installing x100 packages) and tried with various openssl dll versions (32bit on xp machine, copied both in system32 dir and in my app dir) but always got "could not load ssl library" error. Could someone tell me the right indy dcl package and openssl dll to use with D2007? Using function WhichFailedToLoad i get the result: "SSL_CTX_set_info_callback_indy X509_STORE_CTX_get_app_data_indy X509_get_notBefore_indy X509_get_notAfter_indy SSL_SESSION_get_id_indy SSL_SESSION_get_id_ctx_indy SSL_CTX_get_version_indy SSL_CTX_set_options_indy des_set_odd_parity des_set_key des_ecb_encrypt"
回答1:
Indy's WhichFailedToLoad()
function in the IdSSLOpenSSLHeaders
unit tells you why OpenSSL could not be loaded.
The latest snapshot of Indy 10 uses the latest version of OpenSSL. There are OpenSSL DLLs available for download from Indy's Fulgan mirror:
http://indy.fulgan.com/SSL/
来源:https://stackoverflow.com/questions/18191679/which-is-current-correct-indy-and-open-ssl-versions-to-use-with-delphi2007