[Buildroot] [PATCH 1/1] package/glib-networking: fix build with libressl

Peter Korsgaard peter at korsgaard.com
Sat Apr 9 14:11:19 UTC 2022


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > glib-networking raises the following build failure with libressl:
 > ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake':
 > ../tls/openssl/gtlsconnection-openssl.c:419:27: error:
 > 'TLS1_3_VERSION' undeclared (first use in this function); did you mean
 > 'TLS1_2_VERSION'?
 >   419 |   if (SSL_version(ssl) >= TLS1_3_VERSION)
 >       |                           ^~~~~~~~~~~~~~
 >       |                           TLS1_2_VERSION
 > ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared
 > identifier is reported only once for each function it appears in
 > ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit
 > declaration of function 'SSL_key_update'
 > [-Werror=implicit-function-declaration]
 >   420 |     ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED);
 >       |           ^~~~~~~~~~~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list