You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I compiled iothub_ll_telemetry_sample on Ubuntu 22.04, I got a compilation error at the OpenSSL call part.
Error message:
/home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c: In function ‘engine_destroy’:
/home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c:762:9: error: ‘ENGINE_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
762 | ENGINE_free(tls->engine); // Release structural reference.
| ^~~~~~~~~~~
In file included from /home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c:9:
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
/home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c: In function ‘engine_load’:
/home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c:772:5: error: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
772 | tls->engine = ENGINE_by_id(tls->engine_id);
| ^~~
In file included from /home/azureuser/azure-iot-sdk-c/c-utility/adapters/tlsio_openssl.c:9:
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
...
Hi,
When I compiled iothub_ll_telemetry_sample on Ubuntu 22.04, I got a compilation error at the OpenSSL call part.
Error message:
Is there any way to avoid the error?
Azure IoT C SDK:
cmake:
The text was updated successfully, but these errors were encountered: