Skip to contentSkip to conversation

package/ustream-ssl: needs OpenSSL ssl-trace

PATCH New Bernd Kuhls 1 participant 1 message Jan 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ustream-ssl: needs OpenSSL ssl-trace

Buildroot commit e1050a3a50886c72d3ff2416dd8db2fe3c389973 bumped the package which includes upstream commit
https://git.openwrt.org/?p=project/ustream-ssl.git;a=commit;h=956fba242ac0a4bcfe3db103d4d1f41545c924fb
that adds the usage of SSL_trace causing a build error when OpenSSL was built without ssl-trace support:

/home/autobuild/autobuild/instance-10/output-1/build/ustream-ssl-5a81c108d20e24724ed847cc4be033f2a74e6635/ustream-openssl.c:
In function '__ustream_ssl_set_debug':
/home/autobuild/autobuild/instance-10/output-1/build/ustream-ssl-5a81c108d20e24724ed847cc4be033f2a74e6635/ustream-openssl.c:490:44:
error: 'SSL_trace' undeclared (first use in this function); did you mean 'SSL_write'?
490 | SSL_CTX_set_msg_callback(ctx->ssl, SSL_trace);

Fixes:
https://autobuild.buildroot.net/results/17c/17c88282c32f2edfa0991e0e10cb45013c947be9/

---
 package/ustream-ssl/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/ustream-ssl/Config.in +1 -0
index c328a6ea12..6fc54f3bef 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_USTREAM_SSL
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libubox -> json-c
 	select BR2_PACKAGE_LIBUBOX
 	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL_TRACE if BR2_PACKAGE_LIBOPENSSL
 	help
 	  ustream SSL wrapper
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot