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
openssl1.1.0i - CRYPTO_THREADID , CRYPTO_LOCK , SSLThread_id are deprecated.
How do I solve this?
build error
/paho.mqtt.c-1.3.1/src/SSLSocket.c:65:26: error: unknown type name 'CRYPTO_THREADID'
extern void SSLThread_id(CRYPTO_THREADID *id);
^~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:402:26: error: unknown type name 'CRYPTO_THREADID'
extern void SSLThread_id(CRYPTO_THREADID *id)
^~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLLocks_callback':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:425:14: error: 'CRYPTO_LOCK' undeclared (first use in this function)
if (mode & CRYPTO_LOCK)
^~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:425:14: note: each undeclared identifier is reported only once for each function it appears in
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLSocket_initialize':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:450:13: warning: implicit declaration of function 'SSL_library_init' [-Wimplicit-function-declaration]
if ((rc = SSL_library_init()) != 1)
^~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:453:3: warning: implicit declaration of function 'ERR_load_crypto_strings' [-Wimplicit-function-declaration]
ERR_load_crypto_strings();
^~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:454:3: warning: implicit declaration of function 'SSL_load_error_strings' [-Wimplicit-function-declaration]
SSL_load_error_strings();
^~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:460:3: warning: implicit declaration of function 'OpenSSL_add_all_algorithms' [-Wimplicit-function-declaration]
OpenSSL_add_all_algorithms();
^~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:462:17: warning: implicit declaration of function 'CRYPTO_num_locks' [-Wimplicit-function-declaration]
lockMemSize = CRYPTO_num_locks() * sizeof(ssl_mutex_type);
^~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:479:3: warning: implicit declaration of function 'CRYPTO_THREADID_set_callback' [-Wimplicit-function-declaration]
CRYPTO_THREADID_set_callback(SSLThread_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:479:32: error: 'SSLThread_id' undeclared (first use in this function)
CRYPTO_THREADID_set_callback(SSLThread_id);
^~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:483:3: warning: implicit declaration of function 'CRYPTO_set_locking_callback' [-Wimplicit-function-declaration]
CRYPTO_set_locking_callback(SSLLocks_callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLSocket_terminate':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:502:3: warning: implicit declaration of function 'EVP_cleanup' [-Wimplicit-function-declaration]
EVP_cleanup();
^~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:503:3: warning: implicit declaration of function 'ERR_free_strings' [-Wimplicit-function-declaration]
ERR_free_strings();
^~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
openssl1.1.0i - CRYPTO_THREADID , CRYPTO_LOCK , SSLThread_id are deprecated.
How do I solve this?
build error
/paho.mqtt.c-1.3.1/src/SSLSocket.c:65:26: error: unknown type name 'CRYPTO_THREADID'
extern void SSLThread_id(CRYPTO_THREADID *id);
^~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:402:26: error: unknown type name 'CRYPTO_THREADID'
extern void SSLThread_id(CRYPTO_THREADID *id)
^~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLLocks_callback':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:425:14: error: 'CRYPTO_LOCK' undeclared (first use in this function)
if (mode & CRYPTO_LOCK)
^~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:425:14: note: each undeclared identifier is reported only once for each function it appears in
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLSocket_initialize':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:450:13: warning: implicit declaration of function 'SSL_library_init' [-Wimplicit-function-declaration]
if ((rc = SSL_library_init()) != 1)
^~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:453:3: warning: implicit declaration of function 'ERR_load_crypto_strings' [-Wimplicit-function-declaration]
ERR_load_crypto_strings();
^~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:454:3: warning: implicit declaration of function 'SSL_load_error_strings' [-Wimplicit-function-declaration]
SSL_load_error_strings();
^~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:460:3: warning: implicit declaration of function 'OpenSSL_add_all_algorithms' [-Wimplicit-function-declaration]
OpenSSL_add_all_algorithms();
^~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:462:17: warning: implicit declaration of function 'CRYPTO_num_locks' [-Wimplicit-function-declaration]
lockMemSize = CRYPTO_num_locks() * sizeof(ssl_mutex_type);
^~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:479:3: warning: implicit declaration of function 'CRYPTO_THREADID_set_callback' [-Wimplicit-function-declaration]
CRYPTO_THREADID_set_callback(SSLThread_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:479:32: error: 'SSLThread_id' undeclared (first use in this function)
CRYPTO_THREADID_set_callback(SSLThread_id);
^~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:483:3: warning: implicit declaration of function 'CRYPTO_set_locking_callback' [-Wimplicit-function-declaration]
CRYPTO_set_locking_callback(SSLLocks_callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c: In function 'SSLSocket_terminate':
/paho.mqtt.c-1.3.1/src/SSLSocket.c:502:3: warning: implicit declaration of function 'EVP_cleanup' [-Wimplicit-function-declaration]
EVP_cleanup();
^~~~~~~~~~~
/paho.mqtt.c-1.3.1/src/SSLSocket.c:503:3: warning: implicit declaration of function 'ERR_free_strings' [-Wimplicit-function-declaration]
ERR_free_strings();
^~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: