summaryrefslogtreecommitdiffstats
path: root/docs/lasso-book
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2006-09-21 08:51:32 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2006-09-21 08:51:32 +0000
commit21d9435173f3e36ac17cc97ad6da5b66507a44f2 (patch)
tree293a1a1b23335ea5c9addec4775ad50845961fe6 /docs/lasso-book
parent63c5e23649286f0682636d69c6080587c0010809 (diff)
downloadlasso-21d9435173f3e36ac17cc97ad6da5b66507a44f2.tar.gz
lasso-21d9435173f3e36ac17cc97ad6da5b66507a44f2.tar.xz
lasso-21d9435173f3e36ac17cc97ad6da5b66507a44f2.zip
updated documentation for lasso server creation prototype change
Diffstat (limited to 'docs/lasso-book')
-rw-r--r--docs/lasso-book/writing-a-c-sp.txt1
-rw-r--r--docs/lasso-book/writing-a-php-sp.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/lasso-book/writing-a-c-sp.txt b/docs/lasso-book/writing-a-c-sp.txt
index cc6dd259..44fe4768 100644
--- a/docs/lasso-book/writing-a-c-sp.txt
+++ b/docs/lasso-book/writing-a-c-sp.txt
@@ -87,6 +87,7 @@ The ``LassoServer`` object may be created as follows:
LassoServer *server;
server = lasso_server_new("sp-metadata.xml",
"sp-private-key.pem", NULL, "sp-crt.pem");
+
lasso_server_add_provider(server, LASSO_PROVIDER_ROLE_IDP,
"idp-metadata.xml", "idp-public-key.pem", "ca-crt.pem");
diff --git a/docs/lasso-book/writing-a-php-sp.txt b/docs/lasso-book/writing-a-php-sp.txt
index 429aa1eb..e61c29b9 100644
--- a/docs/lasso-book/writing-a-php-sp.txt
+++ b/docs/lasso-book/writing-a-php-sp.txt
@@ -74,7 +74,7 @@ The ``LassoServer`` object may be created as follows::
lasso_init();
$server = new LassoServer("sp-metadata.xml", "sp-private-key.pem",
- "sp-crt.pem", LASSO_SIGNATURE_METHOD_RSA_SHA1);
+ NULL, "sp-crt.pem");
$server->addProvider(LASSO_PROVIDER_ROLE_IDP, "idp-metadata.xml",
"idp-public-key.pem", "ca-crt.pem");
lasso_shutdown();