From cd815c929e64c2fce2fd6cde79b79698e65ed8c9 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 7 Sep 2015 19:36:56 +0200 Subject: [PATCH] Hash: Do not assign false to length property. It's documented as an int. --- phpseclib/Crypt/Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index 6c5d7059..6b539a49 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -62,7 +62,7 @@ class Hash * @var int * @access private */ - var $length = false; + var $length; /** * Hash Algorithm