Commit a500776
committed
Use server_sm2_cert_der and refresh certs_test_sm.h for record-size SM test
test_record_size_matches_build_message loaded the embedded server_sm2_der
buffer, which is generated from the stale certs/sm2/server-sm2.der (still
the Feb 2023 / Nov 2025 cert). On a minimal SM build the SM TLS handshake
aborts with -151 ASN_AFTER_DATE_E and the test fails. Switch the test to
load server_sm2_cert_der, which tracks the current 2026-2028 SM2 server
cert, and regenerate wolfssl/certs_test_sm.h via gencertbuf.pl so
ca_sm2_der is also refreshed against the in-tree CA cert.1 parent 6fc100b commit a500776
2 files changed
Lines changed: 1791 additions & 1810 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | | - | |
| 1200 | + | |
| 1201 | + | |
1201 | 1202 | | |
1202 | 1203 | | |
1203 | 1204 | | |
| |||
0 commit comments