Topic: Building Library on ubuntu 17.10

I'm trying to build our application on Ubuntu 17.10, but when I do I get the following error in the wolfSSL library:

/usr/local/include/wolfssl/wolfcrypt/settings.h:1573:14: error: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Werror=cpp]
             #warning "For timing resistance / side-channel attack prevention consider using harden options"

My configure command is as follows:

./configure --enable-supportedcurves --enable-secure-renegotiation --enable-ecc --enable-gcc-hardening

What should I include to mitigate this error.

Thank you,
Jelani

Share

Re: Building Library on ubuntu 17.10

Hi jebrando,

To resolve this error you have two options:

1. Enable the hardening options `./configure --enable-harden`
2. Disable the hardening support using `./configure CFLAGS="-DWC_NO_HARDEN`

Thanks,
David Garske, wolfSSL

Share