Commit b0b189f
committed
Add missing compilation guards for GCM and CCM
Add missing compilation guards that broke the build if either GCM or
CCM was not defined.
Add missing guards on test cases that require GCM or CBC.
The build and tests now pass for any subset of {MBEDTLS_CCM_C,
MBEDTLS_GCM_C}. There are still unused variables warnings if neither
is defined.1 parent 0e9ff85 commit b0b189f
2 files changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3146 | 3146 | | |
3147 | 3147 | | |
3148 | 3148 | | |
3149 | | - | |
| 3149 | + | |
3150 | 3150 | | |
3151 | 3151 | | |
3152 | 3152 | | |
| |||
3259 | 3259 | | |
3260 | 3260 | | |
3261 | 3261 | | |
| 3262 | + | |
3262 | 3263 | | |
3263 | 3264 | | |
3264 | 3265 | | |
| |||
3270 | 3271 | | |
3271 | 3272 | | |
3272 | 3273 | | |
3273 | | - | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
3274 | 3278 | | |
3275 | 3279 | | |
3276 | 3280 | | |
| |||
3282 | 3286 | | |
3283 | 3287 | | |
3284 | 3288 | | |
| 3289 | + | |
3285 | 3290 | | |
3286 | 3291 | | |
3287 | 3292 | | |
| |||
3339 | 3344 | | |
3340 | 3345 | | |
3341 | 3346 | | |
| 3347 | + | |
3342 | 3348 | | |
3343 | 3349 | | |
3344 | 3350 | | |
| |||
3356 | 3362 | | |
3357 | 3363 | | |
3358 | 3364 | | |
3359 | | - | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
3360 | 3369 | | |
3361 | 3370 | | |
3362 | 3371 | | |
| |||
3374 | 3383 | | |
3375 | 3384 | | |
3376 | 3385 | | |
| 3386 | + | |
3377 | 3387 | | |
3378 | 3388 | | |
3379 | 3389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | | - | |
| 1773 | + | |
1774 | 1774 | | |
1775 | 1775 | | |
1776 | 1776 | | |
1777 | | - | |
| 1777 | + | |
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
| 1781 | + | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | 1784 | | |
1785 | | - | |
| 1785 | + | |
1786 | 1786 | | |
1787 | 1787 | | |
1788 | 1788 | | |
| |||
0 commit comments