mbox series

[0/1] Fix wolfSSL build

Message ID 20240621181509.32850-1-bage@debian.org
Headers show
Series Fix wolfSSL build | expand

Message

Bastian Germann June 21, 2024, 6:15 p.m. UTC
I cannot think of a configuration where cbceee179d (Fix build error when
WolfSSL is used) would be needed. Please consider reverting. Otherwise
please apply this patch.

Bastian Germann (1):
  Let options.h be the first wolfSSL include

 include/sslapi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic June 25, 2024, 9:10 a.m. UTC | #1
On 21.06.24 20:15, Bastian Germann wrote:
> I cannot think of a configuration where cbceee179d (Fix build error when
> WolfSSL is used) would be needed. Please consider reverting. Otherwise
> please apply this patch.

I cannot build due to missing define - by reverting:


   CC      core/swupdate.o
In file included from include/sslapi.h:44,
                  from core/swupdate.c:43:
/usr/include/wolfssl/ssl.h:2195:5: error: expected identifier before
numeric constant
  2195 |     BIO_CLOSE   = 1,
       |     ^~~~~~~~~

Note: there also a bunch of warnbings, and I will fix them when I will
rework the crypto modules in SWUpdate, so they are ok for now.

Best regards,
Stefano

--