Friday, 19 April 2024
  4 Replies
  202 Visits
  Subscribe
Hi, I'm using DelphiACME component and this component fail when using sgcIndy because the funcion OpenSSL_add_all_ciphers is not found in DLL. Is there someone fix ?

Thanks.

Esteban
1 month ago
·
#2017
UPDATE: I found this in OpenSSL site:

HISTORY

The OpenSSL_add_all_algorithms(), OpenSSL_add_all_ciphers(), OpenSSL_add_all_digests(), and EVP_cleanup(), functions were deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto() and should not be used.


Is planned support OPENSSL_init_crypto() and related functions ?

Thanks in advance.

Esteban
1 month ago
·
#2018
Hello,

Those functions are deprecated on the latest versions of openssl and only must be used on openSSL 1.0.2, so if you are using openssl 1.1.1 or 3.0.0 those functions are not available, this is not related to sgcIndy.
You should contact the developer of DelphiACME and ask for support for the latest openssl versions, most probably is using 1.0.2

Kind Regards,
Sergio
1 month ago
·
#2026
Hi Sergio, you are righ partially. DelphiACME must update the OpenSSL_add_all_ciphers to OpenSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS or OPENSSL_INIT_ADD_ALL_DIGESTS, nil) (nil or pointer to OPENSSL_INIT_SETTINGS structure) but for this is necessary that in IdSSLOpenSSLHeaders.pas to have functions and constants declared. On other hand, DelphiACME call PEM_read_bio_RSAPrivateKey and this functions now are replaced by OSSL_ENCODER_to_bio/OSSL_ENCODER_from_bio and so on other functions. I unstestand that official Indy not have implemented this features. Are you planned these implementations ?

Sorry for my english.

Best regards.

Esteban
1 month ago
·
#2028
Hello,

I'm sorry but I've no plans to implement currently those functions. You can implement yourself defining the functions in the project if you need these functions.

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)