1 (edited by Scotty2541 2024-10-18 08:10:48)

Topic: Configuring the build

How come there is hardly any documented #defines??

For example, this page  https://www.wolfssl.com/using-pre-share … wolfssl-2/
just says

$ ./configure --enable-psk

Well, there is NOT configuration script for our environment.  And no one is willing to explain what the script does for environments near what we use.

If the

#define  {whatever}

was also included for the "settings.h" or the "user_settings.h" file, it would make sure save a lot of time trying to get a PhD in these scripts and settings.

-Scott
<Code shown is not to scale>

Share

Re: Configuring the build

Hi Scott,

The two main sources of documentation on our build flags are section 2 of our manual and our user_settings.h examples:
https://www.wolfssl.com/documentation/m … ssor-macro
https://github.com/wolfSSL/wolfssl/tree … es/configs

PSK is enabled by default and doesn't need a flag to enable it.  If you wanted to disable it, you would define NO_PSK.
<wolfssl dir>/configure.ac is what translates our configure arguments into defines, but I would recommend consulting our documentation first.

Thanks,
Kareem

Share