Merge pull request #7450 from staabm/simpler-hash

Use a simpler hashing for the Rule2Literal case
main
Rob 6 years ago committed by GitHub
commit 68d468d683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,9 +50,7 @@ class Rule2Literals extends Rule
public function getHash() public function getHash()
{ {
$data = unpack('ihash', md5($this->literal1.','.$this->literal2, true)); return $this->literal1.','.$this->literal2;
return $data['hash'];
} }
/** /**

Loading…
Cancel
Save