aws / s2n-tls

An implementation of the TLS/SSL protocols
https://aws.github.io/s2n-tls/usage-guide/
Apache License 2.0
4.52k stars 704 forks source link

chore: remove unused compile definition #4815

Open jmayclin opened 1 day ago

jmayclin commented 1 day ago

Description of changes:

DS2N_BLOCK_NONPORTABLE_OPTIMIZATIONS is not referenced anywhere in the codebase. Setting it to true or false is a no-op and does not change anything.

This was previously used for the s2n-tls copy of pq stuff but now that the PQ code has been moved to AWS-LC the compile definition is unused.

I grep'd through our codebase for S2N_BLOCK_NONPORTABLE_OPTIMIZATIONS and removed all references to it.

Testing:

All CI should pass.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.