diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-09 15:07:03 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-09 15:07:03 +0000 |
| commit | 486b4d97ab8154aad74133ab08e2c0842675fa06 (patch) | |
| tree | 684e10676e740577f2b3d97754df74115384fd90 | |
| parent | bb6c3b4957353068dfcf5a9a8d22d2703591787e (diff) | |
| download | lasso-486b4d97ab8154aad74133ab08e2c0842675fa06.tar.gz lasso-486b4d97ab8154aad74133ab08e2c0842675fa06.tar.xz lasso-486b4d97ab8154aad74133ab08e2c0842675fa06.zip | |
Corrected correction
| -rw-r--r-- | lasso/id-ff/lecp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lasso/id-ff/lecp.c b/lasso/id-ff/lecp.c index 5513b8e9..1f47dda7 100644 --- a/lasso/id-ff/lecp.c +++ b/lasso/id-ff/lecp.c @@ -62,8 +62,7 @@ lasso_lecp_build_authn_request_envelope_msg(LassoLecp *lecp) return(-1); } - /* FIXME : export to base 64 or simple xml dump */ - profile->msg_body = lasso_node_export_to_base64(lecp->authnRequestEnvelope); + profile->msg_body = lasso_node_export(lecp->authnRequestEnvelope); if (profile->msg_body == NULL) { message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnRequestEnvelope to POST msg\n"); return(-1); @@ -105,9 +104,9 @@ lasso_lecp_build_authn_response_msg(LassoLecp *lecp) message(G_LOG_LEVEL_CRITICAL, "AssertionConsumerServiceURL not found\n"); return(-1); } - profile->msg_body = lasso_node_export(profile->response); + profile->msg_body = lasso_node_export_to_base64(profile->response); if (profile->msg_body == NULL) { - message(G_LOG_LEVEL_CRITICAL, "AuthnResponse msg not found\n"); + message(G_LOG_LEVEL_CRITICAL, "AuthnResponse Base64 msg not found\n"); return(-1); } @@ -201,7 +200,7 @@ lasso_lecp_init_from_authn_request_msg(LassoLecp *lecp, gint lasso_lecp_process_authn_request_envelope_msg(LassoLecp *lecp, - gchar *request_msg) + gchar *request_msg) { g_return_val_if_fail(LASSO_IS_LECP(lecp), -1); g_return_val_if_fail(request_msg!=NULL, -1); |
