summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/Auth/OpenID/Server.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/Server.php b/Tests/Auth/OpenID/Server.php
index b2fa167..76f2e1a 100644
--- a/Tests/Auth/OpenID/Server.php
+++ b/Tests/Auth/OpenID/Server.php
@@ -1541,6 +1541,11 @@ class Tests_Auth_OpenID_Associate extends PHPUnit_TestCase {
function test_plaintext256()
{
+ if (!Auth_OpenID_SHA256_SUPPORTED) {
+ print "Skipping test_plaintext256";
+ return;
+ }
+
$this->assoc = $this->signatory->createAssociation(false,
'HMAC-SHA256');
$response = $this->request->answer($this->assoc);