Skip to content

Commit

Permalink
Merge pull request #1106 from goravsingal/fips
Browse files Browse the repository at this point in the history
FIPS: Fix when OS is windows and only environment needs to be set
  • Loading branch information
goravsingal authored Jun 21, 2021
2 parents 4a4f23f + c37a8c7 commit df5d87b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hubblestack/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ def setup_fips_mode():
import os
os.environ["ENABLE_FIPS"] = "1"
# print('FIPS mode enabled')
return

import ssl
ssl.FIPS_mode_set(1)
Expand Down

0 comments on commit df5d87b

Please sign in to comment.