diff --git a/phpseclib/Crypt/Common/PrivateKey.php b/phpseclib/Crypt/Common/PrivateKey.php index 00712328..bc0b9ede 100644 --- a/phpseclib/Crypt/Common/PrivateKey.php +++ b/phpseclib/Crypt/Common/PrivateKey.php @@ -26,5 +26,5 @@ interface PrivateKey //public function decrypt($ciphertext); public function getPublicKey(); public function toString($type, array $options = []); - public function withPassword($string); + public function withPassword($string = false); }