We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1c3d6 commit af204e4Copy full SHA for af204e4
Misc/NEWS.d/next/Build/2022-10-25-14-43-00.gh-issue-98671.a42a6d.rst
@@ -0,0 +1,3 @@
1
+Fix ``NO_MISALIGNED_ACCESSES`` being not defined for the SHA3 extension
2
+when ``HAVE_ALIGNED_REQUIRED`` is set. Allowing builds on hardware that
3
+unaligned memory accesses are not allowed.
Modules/_sha3/sha3module.c
@@ -65,7 +65,7 @@
65
#endif
66
67
/* Prevent bus errors on platforms requiring aligned accesses such ARM. */
68
-#if HAVE_ALIGNED_REQUIRED && !defined(NO_MISALIGNED_ACCESSES)
+#if defined(HAVE_ALIGNED_REQUIRED) && !defined(NO_MISALIGNED_ACCESSES)
69
#define NO_MISALIGNED_ACCESSES
70
71
0 commit comments