From 706dcfb8d646296de1b4bf8a56e98da43430c7e4 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 4 Jun 2016 23:22:02 -0500 Subject: [PATCH] RSA: update unit test for 2.0 branch --- tests/Unit/Crypt/RSA/LoadKeyTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Crypt/RSA/LoadKeyTest.php b/tests/Unit/Crypt/RSA/LoadKeyTest.php index c4c72cc1..aa4560c5 100644 --- a/tests/Unit/Crypt/RSA/LoadKeyTest.php +++ b/tests/Unit/Crypt/RSA/LoadKeyTest.php @@ -393,9 +393,9 @@ NNj0BDlf38hOtkhDzz/hkYb+EBYLLvldhgsD0OvRNy8yhz7EjaUqLCB0juIN4QIB AAIBAAIBAAIBAAIBAA== -----END RSA PRIVATE KEY-----'; - $rsa = new Crypt_RSA(); + $rsa = new RSA(); $rsa->loadKey($key); - $rsa->setSignatureMode(CRYPT_RSA_SIGNATURE_PKCS1); + $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1); $rsa->setHash('md5'); $rsa->setMGFHash('md5');