Fixes fips regression from #4068
Merge pull request #4093 from yurydelendik/issue4068

Fixes fips regression from #4068