Commit 4b37461
[fips140][
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
In open-telemetry#14225, we skipped the `configtls.TestTPM_loadCertificate` unit test
if the tests were run with `GODEBUG=fips140=only`. Otherwise, the unit
test failed with a `panic: crypto/cipher: use of CFB is not allowed in
FIPS 140-only mode` error.
Turns out there was a second unit test in the same package that needed
skipping for the same reason: `configtls.TestTPM_tpmCertificate_errors`.
This PR skips it too.
<!-- Issue number if applicable -->
#### Link to tracking issue
Follow up to open-telemetry#14225configtls.TestTPM_tpmCertificate_errors] Skip test if GODEBUG=fips140=only is set (open-telemetry#14255)1 parent fdb5521 commit 4b37461
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments