Skip to content

Commit

Permalink
package/rtty: fix wolfssl build
Browse files Browse the repository at this point in the history
Fix the following wolfssl build failure raised at least since bump to
version 7.4.0 in commit 6b5907b:

/home/autobuild/autobuild/instance-4/output-1/build/rtty-8.1.0/src/ssl/openssl.c: In function 'ssl_last_error_string':
/home/autobuild/autobuild/instance-4/output-1/build/rtty-8.1.0/src/ssl/openssl.c:143:24: error: implicit declaration of function 'ERR_peek_error_line_data'; did you mean 'wolfSSL_ERR_get_error_line_data'? [-Werror=implicit-function-declaration]
  143 |         ssl_err_code = ERR_peek_error_line_data(&file, &line, &data, &flags);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~
      |                        wolfSSL_ERR_get_error_line_data

Fixes:
 - http://autobuild.buildroot.org/results/9db9f1dcc6760de4b78771bb79f109c4efd06c36
 - http://autobuild.buildroot.org/results/16422af9469de114e552124542508c3b18ea8f19

Signed-off-by: Fabrice Fontaine <[email protected]>
[[email protected]: don't force wolfssl-all]
Signed-off-by: Yann E. MORIN <[email protected]>
(cherry picked from commit 67cb7d8)
Signed-off-by: Peter Korsgaard <[email protected]>
  • Loading branch information
ffontaine authored and jacmet committed Dec 1, 2023
1 parent 4073574 commit 75abb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/rtty/rtty.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RTTY_CONF_OPTS += \
-DUSE_MBEDTLS=OFF \
-DUSE_OPENSSL=ON \
-DUSE_WOLFSSL=OFF
else ifeq ($(BR2_PACKAGE_WOLFSSL),y)
else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
RTTY_DEPENDENCIES += wolfssl
RTTY_CONF_OPTS += \
-DSSL_SUPPORT=ON \
Expand Down

0 comments on commit 75abb66

Please sign in to comment.