CI_Encryption::hkdf() to follow RFC5869 more strictly
diff --git a/system/libraries/Encryption.php b/system/libraries/Encryption.php
index 3ce9f1b..bfc1e89 100644
--- a/system/libraries/Encryption.php
+++ b/system/libraries/Encryption.php
@@ -845,7 +845,7 @@
 			return FALSE;
 		}
 
-		isset($salt) OR $salt = str_repeat("\0", $this->_digests[$digest]);
+		strlen($salt) OR $salt = str_repeat("\0", $this->_digests[$digest]);
 
 		$prk = hash_hmac($digest, $key, $salt, TRUE);
 		$key = '';