diff options
author | tailor <cygnus@janrain.com> | 2007-02-06 22:08:23 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-02-06 22:08:23 +0000 |
commit | aacb3e8250b010c83130f08c69445c1ac424637f (patch) | |
tree | b7d3176be152eefabcbefff435ef89fc0495427e | |
parent | 304ae35257497ee4125a05be72ba7216346872fb (diff) | |
download | php-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.php | 5 |
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); |