summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2005-01-09 16:45:46 +0000
committerFrederic Peters <fpeters@entrouvert.com>2005-01-09 16:45:46 +0000
commit766714cf126034fd786ed5fa08d659b2bc28761b (patch)
tree0bb7702831475397d15844ba4c0a648a039f227e /php
parent89a08ce318035f00515a1ca2c5665019e0bda726 (diff)
downloadlasso-766714cf126034fd786ed5fa08d659b2bc28761b.tar.gz
lasso-766714cf126034fd786ed5fa08d659b2bc28761b.tar.xz
lasso-766714cf126034fd786ed5fa08d659b2bc28761b.zip
removed hack to get to lib; it doesn't seem to work elsewhere.
Diffstat (limited to 'php')
-rwxr-xr-xphp/tests/perfs.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/php/tests/perfs.php b/php/tests/perfs.php
index 8ef834ff..6a4b2a49 100755
--- a/php/tests/perfs.php
+++ b/php/tests/perfs.php
@@ -3,11 +3,8 @@
$ret = @dl('lasso.' . PHP_SHLIB_SUFFIX);
if ($ret == FALSE) {
- $ret = @dl('../.libs/lasso.' . PHP_SHLIB_SUFFIX);
- if ($ret == FALSE) {
- print "lasso not found\n";
- exit();
- }
+ print "lasso not found\n";
+ exit(1);
}
function create_authnresponse($query)
@@ -54,7 +51,7 @@ printf("Generating 50 AuthnRequest...\n");
for ($i=0; $i < 50; $i++) {
$login->initAuthnRequest("https://idp1/metadata", LASSO_HTTP_METHOD_REDIRECT);
- $request = $login->authnRequest;
+ $request = $login->request;
$request->ForceAuthn = true;
$request->IsPassive = false;
$request->NameIDPolicy = LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED;