Skip to content
Permalink
Browse files

Merge pull request #14242 from ekmst/crypt

Minor changes on Crypt
  • Loading branch information...
sergeyklay committed Jul 10, 2019
2 parents 973e509 + d1ece60 commit 73b6de140298a54412533ba885f343ab663e5bba
Showing with 2 additions and 6 deletions.
  1. +2 −6 phalcon/Crypt.zep
@@ -398,15 +398,11 @@ class Crypt implements CryptInterface
*/
public function getAvailableHashAlgos() -> array
{
var algos;

if likely function_exists("hash_hmac_algos") {
let algos = hash_hmac_algos();
} else {
let algos = hash_algos();
return hash_hmac_algos();
}

return algos;
return hash_algos();
}

/**

0 comments on commit 73b6de1

Please sign in to comment.
You can’t perform that action at this time.