8 functions in hashlib.new(). |
8 functions in hashlib.new(). |
9 """ |
9 """ |
10 |
10 |
11 import sys |
11 import sys |
12 |
12 |
|
13 from Security.SecurityDefaults import SecurityDefaults |
|
14 |
13 # |
15 # |
14 # This is a modified version of the one found in the bandit package. |
16 # This is a modified version of the one found in the bandit package. |
15 # |
17 # |
16 # Original Copyright 2014 Hewlett-Packard Development Company, L.P. |
18 # Original Copyright 2014 Hewlett-Packard Development Company, L.P. |
17 # |
19 # |
18 # SPDX-License-Identifier: Apache-2.0 |
20 # SPDX-License-Identifier: Apache-2.0 |
19 # |
21 # |
20 |
|
21 from Security.SecurityDefaults import SecurityDefaults |
|
22 |
22 |
23 |
23 |
24 def getChecks(): |
24 def getChecks(): |
25 """ |
25 """ |
26 Public method to get a dictionary with checks handled by this module. |
26 Public method to get a dictionary with checks handled by this module. |