Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

issue building on raspbian #34

Open
K0enH opened this issue Dec 7, 2017 · 0 comments
Open

issue building on raspbian #34

K0enH opened this issue Dec 7, 2017 · 0 comments

Comments

@K0enH
Copy link

K0enH commented Dec 7, 2017

followed the instructions and when executing build.sh I get the following error:

[ 59%] Building C object azure-iot-sdks/c/iothub_service_client/CMakeFiles/iothub_service_client.dir/parson/parson.c.o
/home/pi/iot-hub-c-raspberrypi-getstartedkit/azure-iot-sdks/c/azure-c-shared-utility/src/tlsio_openssl.c: In function ‘create_openssl_instance’:
/home/pi/iot-hub-c-raspberrypi-getstartedkit/azure-iot-sdks/c/azure-c-shared-utility/src/tlsio_openssl.c:713:5: error: ‘TLSv1_method’ is deprecated [-Werror=deprecated-declarations]
tlsInstance->ssl_context = SSL_CTX_new(TLSv1_method());
^~~~~~~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from /home/pi/iot-hub-c-raspberrypi-getstartedkit/azure-iot-sdks/c/azure-c-shared-utility/src/tlsio_openssl.c:9:
/usr/include/openssl/ssl.h:1612:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD TLSv1_method(void)) / TLSv1.0 */
^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant