commit | 388cd85e51aa9c73f8e7f35f0d06c258be7b579c | [log] [tgz] |
---|---|---|
author | Lars Viklund <zao@zao.se> | Wed Nov 01 13:23:09 2017 +0100 |
committer | Christian Heimes <christian@python.org> | Wed Nov 01 12:23:09 2017 +0000 |
tree | fa83ac45fc6ccc3dc207e0d1e4805f33ee32e1ab | |
parent | 8bc7d63560024681dce9f40445f2877b2987e92c [diff] |
Remove nested comments in blake2 (#4173) Replace occurence of nested comments in blake2 reference implementation with preprocessor directive for disabling unused code. `blake2s-load-xop.h` is conditionally pulled in only on chips with XOP support, among others the AMD Bulldozer. The malformed comments in the source file breaks the build of `hashlib`'s `_blake2` on GCC 6.3.0. Official reference code on github uses `#if` so this change should be uncontroversial.