Previously fog-aws would attempt to generate all the SSE-C headers even if encryption were not active. However, on a FIPS system, MD5 is not available. This commit modifies the UploadPart API request to compute the SSE-C headers only when they are needed.
Previously fog-aws would attempt to generate all the SSE-C headers even if encryption were not active. However, on a FIPS system, MD5 is not available. This commit modifies the UploadPart API request to compute the SSE-C headers only when they are needed.