168 keySize = (context.getCallArgValue('bits') or |
168 keySize = (context.getCallArgValue('bits') or |
169 context.getCallArgAtPosition(0) or |
169 context.getCallArgAtPosition(0) or |
170 2048) |
170 2048) |
171 return _classifyKeySize(reportError, config, keyType, keySize, |
171 return _classifyKeySize(reportError, config, keyType, keySize, |
172 context.node) |
172 context.node) |
|
173 return False |
173 |
174 |
174 |
175 |
175 def checkWeakCryptographicKey(reportError, context, config): |
176 def checkWeakCryptographicKey(reportError, context, config): |
176 """ |
177 """ |
177 Function to check for weak cryptographic key use. |
178 Function to check for weak cryptographic key use. |