From cfe8a2401114ba30a7e7775552a838840c6ca1a0 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 22 May 2021 10:18:11 -0500 Subject: [PATCH] PrivateKey: tweak interface --- phpseclib/Crypt/Common/PrivateKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }