mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 03:16:02 +00:00
Merge branch '3.0'
This commit is contained in:
commit
dfb12d5331
@ -705,7 +705,7 @@ abstract class RSA extends AsymmetricKey
|
||||
*/
|
||||
public function getSaltLength()
|
||||
{
|
||||
return $this->sLen;
|
||||
return $this->sLen !== null ? $this->sLen : $this->hLen;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user