Commit 7005bb5
committed
Map BuildMessage and GetCipherNames under WOLFSSL_API_PREFIX_MAP
The new test_record_size_matches_build_message exposes BuildMessage,
GetCipherNames and GetCipherNamesSize via WOLFSSL_TEST_VIS so the unit
test can call them from outside the library. Without a prefix map, the
WOLFSSL_API_PREFIX_MAP build (symbol-prefixes.yml) trips the
unprefixed-public-symbols check because these names start with neither
wc_ nor wolf/WOLF. Add the same #define remap that the other
WOLFSSL_TEST_VIS internals (DoApplicationData, TLSX_Find,
DeriveTls13Keys, ...) already use, so the exported symbols become
wolfSSL_BuildMessage / wolfSSL_GetCipherNames(Size) under that build.
wolfssl_local_GetRecordSize already starts with "wolf" and needs no
remap.1 parent a500776 commit 7005bb5
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7106 | 7106 | | |
7107 | 7107 | | |
7108 | 7108 | | |
| 7109 | + | |
| 7110 | + | |
| 7111 | + | |
| 7112 | + | |
7109 | 7113 | | |
7110 | 7114 | | |
7111 | 7115 | | |
| |||
7187 | 7191 | | |
7188 | 7192 | | |
7189 | 7193 | | |
| 7194 | + | |
| 7195 | + | |
| 7196 | + | |
7190 | 7197 | | |
7191 | 7198 | | |
7192 | 7199 | | |
| |||
0 commit comments