Commit 4433f1a
committed
Make --enable-aeskeywrap drive HAVE_AES_KEYWRAP (F-3401)
After gating slot.c advertisement on HAVE_AES_KEYWRAP, the --enable-aeskeywrap
build option (which defined the unused HAVE_AES_KEY_WRAP) no longer controlled
anything. Point the option at the canonical HAVE_AES_KEYWRAP so it actually
enables the feature end-to-end.
Only ever define the macro when the option is enabled; never emit an #undef.
The previous configure DISABLE_DEFS path and the cmake/options.h.in entry would
otherwise generate '#undef HAVE_AES_KEYWRAP' in wolfpkcs11/options.h, which -
included after wolfssl/options.h - would clobber the wolfSSL-provided macro and
silently disable key wrap. The option can now only force it on; keywrap is
impossible without wolfSSL's wc_AesKeyWrap regardless.1 parent fab1cb1 commit 4433f1a
3 files changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | | - | |
229 | | - | |
230 | | - | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments