Commit 71ec9e7
[3.9] pythongh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode (pythonGH-109423) (pythonGH-125107)
Use a longer key: FIPS mode requires at least of at least 112 bits.
The previous key was only 32 bits.
(cherry picked from commit e091b9f)
(cherry picked from commit f7bfac4)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>1 parent 5b9bdc1 commit 71ec9e7
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6032 | 6032 | | |
6033 | 6033 | | |
6034 | 6034 | | |
6035 | | - | |
| 6035 | + | |
| 6036 | + | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
6036 | 6040 | | |
6037 | | - | |
| 6041 | + | |
6038 | 6042 | | |
6039 | 6043 | | |
6040 | | - | |
| 6044 | + | |
6041 | 6045 | | |
6042 | 6046 | | |
6043 | 6047 | | |
| |||
0 commit comments