|
|
|
@ -65,7 +65,7 @@ public class EncryptionAlgorithmChecker extends SquidCheck<Grammar> { |
|
|
|
|
} |
|
|
|
|
cache.values().forEach(item->{ |
|
|
|
|
System.out.println("特定字段"+item.getFirstDescendant(CxxGrammarImpl.declaratorId).getTokenOriginalValue()+"未使用单向加密算法对口令进行加密并存储"); |
|
|
|
|
getContext().createLineViolation(this, "单向加密算法对口令进行加密并存储", item); |
|
|
|
|
getContext().createLineViolation(this, "特定字段未使用单向加密算法对口令进行加密并存储", item); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|