1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-29 22:41:11 +03:00

run php-cs-fixer (code reforamt)

This commit is contained in:
David Goodwin
2018-12-28 19:31:43 +00:00
parent 5eba76ac36
commit 4fcdba9cf4
22 changed files with 63 additions and 91 deletions

View File

@ -10,8 +10,6 @@ define('NTLMSSP_HASH_SIZE', 16);
class DovecotCrypt extends Crypt {
private $errormsg = [];
private $salt_chars = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
@ -109,7 +107,7 @@ class DovecotCrypt extends Crypt {
/**
* @return string
*/
*/
public function custom_hmac($algo, $data, $key, $raw_output = false) {
$algo = strtolower($algo);
$pack = 'H'.strlen($algo('test'));