@@ -13,10 +13,11 @@ code to zero-out stack frames used by subprograms.
1313Unfortunately this works well for the primary stack but not
1414for the secondary stack. The GNAT User's Guide recommends
1515avoiding the secondary stack using the restriction
16- No_Secondary_Stack (see the GNAT configuration file gnat .adc
16+ No_Secondary_Stack (see the GNAT configuration file restricted .adc
1717which instructs compilation of the WolfSSL Ada binding under
1818this restriction). Note, however, that the examples do make use of the
19- secondary stack.
19+ secondary stack and the Alire project does not include this restriction, for
20+ letting users of the library to define it at their level.
2021
2122Portability: The WolfSSL Ada binding makes no usage of controlled types
2223and has no dependency upon the Ada.Finalization package.
@@ -25,11 +26,11 @@ the restriction No_Finalization. The WolfSSL Ada binding has
2526been developed with maximum portability in mind.
2627
2728Not only can the WolfSSL Ada binding be used in Ada applications but
28- also SPARK applications (a subset of the Ada language suitable
29+ also SPARK applications (a subset of the Ada language suitable for
2930formal verification). To formally verify the Ada code in this repository
30- open the client .gpr with GNAT Studio and then select
31+ open the examples .gpr with GNAT Studio and then select
3132SPARK -> Prove All Sources and use Proof Level 2. Or when using the command
32- line, use ` gnatprove -Pclient .gpr --level=4 -j12 ` (` -j12 ` is there in
33+ line, use ` gnatprove -Pexamples .gpr --level=4 -j12 ` (` -j12 ` is there in
3334order to instruct the prover to use 12 CPUs if available).
3435
3536```
@@ -83,7 +84,7 @@ and use gprbuild to build the source code.
8384cd wrapper/Ada
8485gprclean
8586gprbuild default.gpr
86- gprbuild client .gpr
87+ gprbuild examples .gpr
8788
8889cd obj/
8990./tls_server_main &
@@ -93,7 +94,7 @@ cd obj/
9394On Windows, build the executables with:
9495``` sh
9596gprbuild -XOS=Windows default.gpr
96- gprbuild -XOS=Windows client .gpr
97+ gprbuild -XOS=Windows examples .gpr
9798```
9899
99100## Files
0 commit comments