Tests/RSA: update unit test for master branch changes

This commit is contained in:
terrafrost 2016-06-04 23:24:49 -05:00
parent 5714875b71
commit 80e9d663cf

View File

@ -548,11 +548,10 @@ AAIBAAIBAAIBAAIBAA==
-----END RSA PRIVATE KEY-----';
$rsa = new RSA();
$rsa->loadKey($key);
$rsa->setSignatureMode(RSA::SIGNATURE_PKCS1);
$rsa->load($key);
$rsa->setHash('md5');
$rsa->setMGFHash('md5');
$rsa->sign('zzzz');
$rsa->sign('zzzz', RSA::PADDING_PKCS1);
}
}