Commit e459b21
committed
wolfcrypt/src/wc_port.c and wolfssl/wolfcrypt/wc_port.h: add volatile attribute to wolfSSL_Atomic_Uint_CompareExchange() first arg, for pedantic accuracy;
wolfssl/internal.h and src/ssl.c: add volatile attribute to WOLFSSL_CTX.privateKeyPKey pointer, for pedantic accuracy;
wolfcrypt/test/test.c: in memory_test(), use compatible pointers for all operands in the wolfSSL_Atomic_Ptr_CompareExchange() test, to avoid undefined behavior.1 parent 59f4fa5 commit e459b21
File tree
5 files changed
+26
-20
lines changed- src
- wolfcrypt
- src
- test
- wolfssl
- wolfcrypt
5 files changed
+26
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7633 | 7633 | | |
7634 | 7634 | | |
7635 | 7635 | | |
7636 | | - | |
| 7636 | + | |
7637 | 7637 | | |
7638 | 7638 | | |
7639 | 7639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1359 | 1359 | | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | | - | |
| 1362 | + | |
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | | - | |
| 1459 | + | |
1460 | 1460 | | |
1461 | 1461 | | |
1462 | 1462 | | |
| |||
1551 | 1551 | | |
1552 | 1552 | | |
1553 | 1553 | | |
1554 | | - | |
| 1554 | + | |
1555 | 1555 | | |
1556 | 1556 | | |
1557 | 1557 | | |
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
| 1654 | + | |
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20061 | 20061 | | |
20062 | 20062 | | |
20063 | 20063 | | |
20064 | | - | |
20065 | | - | |
20066 | 20064 | | |
20067 | 20065 | | |
20068 | 20066 | | |
| |||
20134 | 20132 | | |
20135 | 20133 | | |
20136 | 20134 | | |
20137 | | - | |
20138 | | - | |
20139 | | - | |
20140 | | - | |
20141 | | - | |
20142 | | - | |
| 20135 | + | |
| 20136 | + | |
| 20137 | + | |
| 20138 | + | |
| 20139 | + | |
| 20140 | + | |
| 20141 | + | |
| 20142 | + | |
| 20143 | + | |
| 20144 | + | |
| 20145 | + | |
20143 | 20146 | | |
20144 | 20147 | | |
20145 | 20148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3806 | 3806 | | |
3807 | 3807 | | |
3808 | 3808 | | |
3809 | | - | |
| 3809 | + | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
3810 | 3813 | | |
3811 | 3814 | | |
3812 | 3815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | | - | |
638 | | - | |
| 637 | + | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
0 commit comments