summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2008-02-07 21:40:00 +0000
committertailor <cygnus@janrain.com>2008-02-07 21:40:00 +0000
commite9e76fa6f0f6a43acd4b1595dd29e79e006968d9 (patch)
treeba8a63f7d761a61bcdbe2f7c70b746cfd94ebf7a /Tests
parent91ee15f812a1c093dfb0b7c36d855f9651233be4 (diff)
downloadphp-openid-e9e76fa6f0f6a43acd4b1595dd29e79e006968d9.zip
php-openid-e9e76fa6f0f6a43acd4b1595dd29e79e006968d9.tar.gz
php-openid-e9e76fa6f0f6a43acd4b1595dd29e79e006968d9.tar.bz2
[project @ Skip HMAC-SHA256 test if not supported]
Diffstat (limited to 'Tests')
-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';