Now can handle cr/lf, cr, and lf endings. And on php5 large keys as well.
This commit is contained in:
Ron Arts
2017-10-31 10:14:46 +01:00
parent 90fec63104
commit f79d3f27cf
5 changed files with 30 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ class AuthorizationServerTest extends \PHPUnit_Framework_TestCase
// Make sure the keys have the correct permissions.
chmod(__DIR__ . '/Stubs/private.key', 0600);
chmod(__DIR__ . '/Stubs/public.key', 0600);
chmod(__DIR__ . '/Stubs/public.key.crlf', 0600);
chmod(__DIR__ . '/Stubs/private.key.crlf', 0600);
}
public function testRespondToRequestInvalidGrantType()