summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/Auth/OpenID/Consumer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php
index afa47df..2a02926 100644
--- a/Tests/Auth/OpenID/Consumer.php
+++ b/Tests/Auth/OpenID/Consumer.php
@@ -2220,6 +2220,11 @@ class TestCreateAssociationRequest extends PHPUnit_TestCase {
function test_noEncryptionSendsTypeHMACSHA256()
{
+ if (!Auth_OpenID_HMACSHA256_SUPPORTED) {
+ $this->pass();
+ return;
+ }
+
$session_type = 'no-encryption';
$this->assoc_type = 'HMAC-SHA256';