summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-11-01 12:07:25 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-11-01 12:07:25 +0000
commitf12c970ba818824baa4cdb9d731291792a9cb106 (patch)
treeea924fb0a7ad0b140eddde90d5fc462f2d9a972f
parentccf43534c3f5ec2327f4a6036476c8fac58595eb (diff)
sign message in name registration
-rw-r--r--lasso/id-ff/name_registration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/name_registration.c b/lasso/id-ff/name_registration.c
index 0de68d03..a397cb68 100644
--- a/lasso/id-ff/name_registration.c
+++ b/lasso/id-ff/name_registration.c
@@ -73,9 +73,9 @@ lasso_name_registration_build_request_msg(LassoNameRegistration *name_registrati
}
if (profile->http_request_method == LASSO_HTTP_METHOD_SOAP) {
- /* XXX had call to lasso_samlp_request_abstract_sign_signature_tmpl */
profile->msg_url = lasso_provider_get_metadata_one(remote_provider, "SoapEndpoint");
- profile->msg_body = lasso_node_export_to_soap(profile->request, NULL, NULL);
+ profile->msg_body = lasso_node_export_to_soap(profile->request,
+ profile->server->private_key, profile->server->certificate);
}
if (profile->http_request_method == LASSO_HTTP_METHOD_REDIRECT) {
/* build and optionaly sign the query message and build the