1
0
Fork 0

Merge pull request #7450 from staabm/simpler-hash

Use a simpler hashing for the Rule2Literal case
pull/7432/merge
Rob 2018-07-12 10:05:24 +02:00 committed by GitHub
commit 68d468d683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

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