From 941230c2df3618ab809d81b2013b6087b7689320 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 20 Oct 2019 13:38:45 -0500 Subject: [PATCH] RSA: adustments for 2.0 branch --- tests/Unit/Crypt/RSA/ModeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Crypt/RSA/ModeTest.php b/tests/Unit/Crypt/RSA/ModeTest.php index 97af5c45..788878b2 100644 --- a/tests/Unit/Crypt/RSA/ModeTest.php +++ b/tests/Unit/Crypt/RSA/ModeTest.php @@ -105,7 +105,7 @@ MF0wDQYJKoZIhvcNAQEBBQADTAAwSQJCAmdYuOvii3I6ya3q/zSeZFoJprgF9fIq k12yS6pCS3c+1wZ9cYFVtgfpSL4XpylLe9EnRT2GRVYCqUkR4AUeTuvnAgMBAAE= -----END PUBLIC KEY-----'; - $rsa = new Crypt_RSA(); + $rsa = new RSA(); $rsa->loadKey($pub); $rsa->setHash('sha256'); $rsa->setSaltLength(32);