Commit e4fdad2
committed
(PUP-12047) Add logic to skip MD5 checksum method on a FIPS system
This commit adds logic in http_metadata.rb to skip MD5 related checksums
when FIPS is enabled since MD5 is not supported on FIPS enabled systems.
Additionally, a test is added to http_metadata_spec.rb that checks that
the MD5 checksum type is skipped on FIPS enabled platforms.
Cherry picked from two commits:
(cherry picked from commit 1f7c8ef)
(cherry picked from commit fa721be)1 parent 858752f commit e4fdad2
File tree
2 files changed
+11
-1
lines changed- lib/puppet/file_serving
- spec/unit/file_serving
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
0 commit comments