summaryrefslogtreecommitdiffstats
path: root/lasso/Attic
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-08-21 17:04:44 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-08-21 17:04:44 +0000
commite17f7ebdc1eb423a9a5db2cd988b46ca08eb132d (patch)
tree224d80d897af3ee35e7b05d24d061273660187a0 /lasso/Attic
parenta0bb363ab67b20de7d43db13a0f4bd6ffa62231c (diff)
downloadlasso-e17f7ebdc1eb423a9a5db2cd988b46ca08eb132d.tar.gz
lasso-e17f7ebdc1eb423a9a5db2cd988b46ca08eb132d.tar.xz
lasso-e17f7ebdc1eb423a9a5db2cd988b46ca08eb132d.zip
Fixed a mistake: the signature template should be added before the ProviderID
Diffstat (limited to 'lasso/Attic')
-rw-r--r--lasso/Attic/protocols/authn_request.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lasso/Attic/protocols/authn_request.c b/lasso/Attic/protocols/authn_request.c
index 401195a9..01e28969 100644
--- a/lasso/Attic/protocols/authn_request.c
+++ b/lasso/Attic/protocols/authn_request.c
@@ -177,16 +177,15 @@ lasso_authn_request_new(const xmlChar *providerID,
lasso_samlp_request_abstract_set_issueInstant(LASSO_SAMLP_REQUEST_ABSTRACT(request),
(const xmlChar *)time);
xmlFree(time);
- /* ProviderID */
- lasso_lib_authn_request_set_providerID(LASSO_LIB_AUTHN_REQUEST(request),
- providerID);
-
/* Signature template */
if (sign_type != lassoSignatureTypeNone) {
lasso_samlp_request_abstract_set_signature_tmpl(LASSO_SAMLP_REQUEST_ABSTRACT(request),
sign_type,
sign_method);
- }
+ }
+ /* ProviderID */
+ lasso_lib_authn_request_set_providerID(LASSO_LIB_AUTHN_REQUEST(request),
+ providerID);
return (request);
}