[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wget2 | Wget 2.0.0 does not build with wolfssl 5.0.0 (#571)
From: |
Dmitry Marakasov (@AMDmi3) |
Subject: |
wget2 | Wget 2.0.0 does not build with wolfssl 5.0.0 (#571) |
Date: |
Thu, 18 Nov 2021 12:10:32 +0000 |
Dmitry Marakasov created an issue: https://gitlab.com/gnuwget/wget2/-/issues/571
Another fallout from recently added FreeBSD port of wget2 2.0.0, it does not
build with wolfssl option (FreeBSD has wolfssl 5.0.0).
```
--- libwget_la-ssl_wolfssl.lo ---
ssl_wolfssl.c:877:7: warning: implicit declaration of function
'wolfSSL_UseALPN' is invalid in C99 [-Wimplicit-function-declaration]
if (wolfSSL_UseALPN(session, alpn, (int) len,
WOLFSSL_ALPN_CONTINUE_ON_MISMATCH) == WOLFSSL_SUCCESS) {
^
ssl_wolfssl.c:877:49: error: use of undeclared identifier
'WOLFSSL_ALPN_CONTINUE_ON_MISMATCH'; did you mean
'WOLFSSL_SNI_CONTINUE_ON_MISMATCH'?
if (wolfSSL_UseALPN(session, alpn, (int) len,
WOLFSSL_ALPN_CONTINUE_ON_MISMATCH) == WOLFSSL_SUCCESS) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WOLFSSL_SNI_CONTINUE_ON_MISMATCH
/usr/local/include/wolfssl/ssl.h:3361:5: note:
'WOLFSSL_SNI_CONTINUE_ON_MISMATCH' declared here
WOLFSSL_SNI_CONTINUE_ON_MISMATCH = 0x01,
^
ssl_wolfssl.c:933:7: warning: implicit declaration of function
'wolfSSL_ALPN_GetProtocol' is invalid in C99 [-Wimplicit-function-declaration]
if (wolfSSL_ALPN_GetProtocol(session, &protocol,
&protocol_length) != WOLFSSL_SUCCESS)
^
2 warnings and 1 error generated.
*** [libwget_la-ssl_wolfssl.lo] Error code 1
```
Complete log: https://people.freebsd.org/~amdmi3/wget2-wolfssl.log
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/issues/571
You're receiving this email because of your account on gitlab.com.
- wget2 | Wget 2.0.0 does not build with wolfssl 5.0.0 (#571),
Dmitry Marakasov (@AMDmi3) <=