diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-21 17:04:44 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-21 17:04:44 +0000 |
commit | e17f7ebdc1eb423a9a5db2cd988b46ca08eb132d (patch) | |
tree | 224d80d897af3ee35e7b05d24d061273660187a0 /lasso/Attic | |
parent | a0bb363ab67b20de7d43db13a0f4bd6ffa62231c (diff) | |
download | lasso-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.c | 9 |
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); } |