summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-02-06 22:08:23 +0000
committertailor <cygnus@janrain.com>2007-02-06 22:08:23 +0000
commitaacb3e8250b010c83130f08c69445c1ac424637f (patch)
treeb7d3176be152eefabcbefff435ef89fc0495427e
parent304ae35257497ee4125a05be72ba7216346872fb (diff)
downloadphp-openid-aacb3e8250b010c83130f08c69445c1ac424637f.zip
php-openid-aacb3e8250b010c83130f08c69445c1ac424637f.tar.gz
php-openid-aacb3e8250b010c83130f08c69445c1ac424637f.tar.bz2
[project @ Fix plaintext test in non-sha256 case]
-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);