Commit 0f4d53b
committed
Resolve WOLFSSL_TAG default dynamically instead of hand-bumping
The hardcoded v5.8.4-stable default kept the 'default' FIPS scripts test
config pinned to an old wolfSSL whose headers no longer satisfy the v5.2.4
FIPS overlay (XXX-fips-test references WC_MIN_DIGEST_SIZE, which only
exists from v5.9.0-stable on). Rather than play tag-bump roulette every
release, walk a small resolution ladder:
1. WOLFSSL_TAG (explicit caller override) - unchanged
2. WOLFSSL_LATEST - set by the Jenkinsfile 'Resolve versions' stage, so
CI gets the dynamic value with zero extra HTTP cost
3. GitHub releases/latest API - for local dev runs without Jenkins
4. v5.9.1-stable hardcoded floor - only used if all of the above fail
(e.g. GitHub unreachable), so the script remains buildable offline1 parent d056825 commit 0f4d53b
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
| |||
0 commit comments