OpenSSL 1.1.0
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
Hi!
OpenSSL 1.1.0 was recently released, and gsoap does not compile against it.
The attached patch allows compiling against the openssl 1.1.0 provided by the openssl package in Debian experimental. There are still plenty of warnings about using obsoleted functions, but with this patch it compiles.
Appreciate your feedback. But not sure why the patch introduces deprecated
EVP_CIPHER_CTX_new
andEVP_CIPHER_CTX_free
functions that are obsolete parts of the API. Will check the OpenSSL API changes and update the code base on our side.I am not sure why you say EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free are obsolete. Looking in the openssl/evp.h header:
the EVP_CIPHER_CTX_init and EVP_CIPHER_CTX_cleanup are obsolete, not the EVP_CIPHER_CTX_new and EVP_CIPHER_CTX_free. The EVP_CIPHER_CTX struct is opaque, which means its size is not known. I.e. calling malloc or SOAP_MALLOC with sizeof(EVP_CIPHER_CTX) as an argument is not possible. As far as I can tell calling EVP_CIPHER_CTX_new is the only way to get a EVP_CIPHER_CTX.