diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-09-28 08:20:16 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-09-28 08:20:16 +0000 |
| commit | aa0504dfce82da97bcad215b1274cf896e659314 (patch) | |
| tree | 0af14d29be8354b238d1f283ea88f80158455528 | |
| parent | b7717f9dd893533ea9237101bcbfa36f106ef108 (diff) | |
| download | lasso-aa0504dfce82da97bcad215b1274cf896e659314.tar.gz lasso-aa0504dfce82da97bcad215b1274cf896e659314.tar.xz lasso-aa0504dfce82da97bcad215b1274cf896e659314.zip | |
Added support of RelayState. Now if the requester wants to get back th RelayState, it has to acces to profile->msg_relayState
| -rw-r--r-- | lasso/id-ff/name_registration.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lasso/id-ff/name_registration.c b/lasso/id-ff/name_registration.c index 4293e302..60f4b9d1 100644 --- a/lasso/id-ff/name_registration.c +++ b/lasso/id-ff/name_registration.c @@ -578,6 +578,9 @@ lasso_name_registration_process_response_msg(LassoNameRegistration *name_registr lasso_node_destroy(nameIdentifier_node); + /* set the relay state */ + profile->msg_relayState = lasso_node_get_child_content(profile->response, "RelayState", NULL, NULL); + done: return ret; @@ -681,6 +684,9 @@ lasso_name_registration_validate_request(LassoNameRegistration *name_registratio /* set the new name identifier */ profile->nameIdentifier = lasso_node_get_content(nameIdentifier, NULL); + /* Set the relay state */ + profile->msg_relayState = lasso_node_get_child_content(profile->request, "RelayState", NULL, NULL); + done: return ret; |
