diff options
author | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 16:41:56 +0000 |
---|---|---|
committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 16:41:56 +0000 |
commit | fe53a31b61b428defd593bac2ea0f3135d37ae1a (patch) | |
tree | 5891b229a7f2773161a777680ce58ad2875c9ab5 /lasso | |
parent | ac2f69df35cd58601f5e7dcafb3c0d0f505bd010 (diff) | |
download | lasso-fe53a31b61b428defd593bac2ea0f3135d37ae1a.tar.gz lasso-fe53a31b61b428defd593bac2ea0f3135d37ae1a.tar.xz lasso-fe53a31b61b428defd593bac2ea0f3135d37ae1a.zip |
fixed EncryptedID usage ; last commit was a mistake
Diffstat (limited to 'lasso')
-rw-r--r-- | lasso/id-wsf-2.0/profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-wsf-2.0/profile.c b/lasso/id-wsf-2.0/profile.c index 068bf8d7..24c5d28e 100644 --- a/lasso/id-wsf-2.0/profile.c +++ b/lasso/id-wsf-2.0/profile.c @@ -179,14 +179,14 @@ lasso_idwsf2_profile_process_soap_request_msg(LassoProfile *profile, const gchar } /* Decrypt NameID */ - encryption_private_key = - g_object_ref(profile->server->private_data->encryption_private_key); + encryption_private_key = profile->server->private_data->encryption_private_key; if (profile->nameIdentifier == NULL && encrypted_id != NULL && encryption_private_key != NULL) { decrypted_name_id = lasso_node_decrypt(encrypted_id, encryption_private_key); if (LASSO_IS_SAML2_NAME_ID(decrypted_name_id)) { profile->nameIdentifier = decrypted_name_id; } + assertion->Subject->EncryptedID = NULL; } if (envelope != NULL && envelope->Body != NULL && envelope->Body->any != NULL) { |