Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align guard macros for OPENSSL_cpuid_setup (#2111)
### Issues: Addresses aws/aws-lc-rs#655 ### Description of changes: * The criteria for invoking `OPENSSL_cpuid_setup` should align with the criteria for defining `OPENSSL_cpuid_setup`. ### Call-outs: Consumers building `aws-lc-fips-sys` for `s390x` were seeing the following failure: ``` .../boringssl_prefix_symbols.h:20:26: error: implicit declaration of function 'aws_lc_fips_0_13_1_OPENSSL_cpuid_setup'; did you mean 'aws_lc_fips_0_13_1_OPENSSL_sk_set'? [-Werror=implicit-function-declaration] ``` ### Testing: I verified this fix works for the `aws-lc-fips-sys` build for `s390x-unknown-linux-gnu`. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information