Skip to content

Conversation

@mgrojo
Copy link
Contributor

@mgrojo mgrojo commented Mar 28, 2025

Description

This prepares WolfSSL for adding the Ada binding to the Alire index. See issue #8490.

It also fixes some issues identified by GNATprove that were broken in previous contributions (at least #8332).

Testing

How did you test?
Automated tests from https://github.com/mgrojo/coap_spark

For SPARK checks:

gnatprove -Pclient.gpr --level=4 -j12
gnatprove -Pdefault.gpr --level=4 -j12

Checklist

Not required.

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

mgrojo added 3 commits March 28, 2025 18:16
- Allow enabling WOLFSSL_STATIC_PSK via an Alire configuration variable
 - `gnat.adc` applies unconditionally when using the library through Alire, so it has been renamed and used only in the default project file.
 - Clean-up of the Alire project file `wolfssl.gpr`.
Detected by
```
gnatprove -Pclient.gpr --level=4 -j12
```
Checked with:
```
gnatprove -Pdefault.gpr --level=4 -j12
```
@wolfSSL-Bot
Copy link

Can one of the admins verify this patch?

@dgarske
Copy link
Contributor

dgarske commented Mar 28, 2025

Okay to test. Contributor agreement on file. Thank you @mgrojo

@JacobBarthelmeh
Copy link
Contributor

@mgrojo it looks like a lot of the failures reported are due to the new file restricted.adc and make distcheck. Please check/update the files listed in wrapper/Ada/include.am and test running ./configure && make distcheck.

- Align README.md and GPR files with the fact that the server no longer compiles with the No_Secondary_Stack restriction.
- Fix include.am to reference the new name for the adc file.
@mgrojo
Copy link
Contributor Author

mgrojo commented Apr 1, 2025

The checks should be working now. At least I solved it locally.

I also restructured the project files, because the server example was no longer compiling with the No_Secondary_Stack restriction, at least since #7397.

@mgrojo
Copy link
Contributor Author

mgrojo commented Apr 2, 2025

I've reviewed the 6 failing checks and haven't found any anything that seems to be related to the changes in the pull request, so I assume there's anything else to do on my part.

@JacobBarthelmeh
Copy link
Contributor

Thanks @mgrojo, right there was a change needed for make version. (#8620). Not related to your code changes.

@JacobBarthelmeh JacobBarthelmeh merged commit 3ff4e5e into wolfSSL:master Apr 4, 2025
185 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants