From e17f7ebdc1eb423a9a5db2cd988b46ca08eb132d Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Sat, 21 Aug 2004 17:04:44 +0000 Subject: Fixed a mistake: the signature template should be added before the ProviderID --- lasso/Attic/protocols/authn_request.c | 9 ++++----- 1 file 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); } -- cgit