diff options
author | Luke Howard <lukeh@padl.com> | 2009-10-27 12:28:33 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2009-10-27 12:28:33 +0000 |
commit | fde4ce21e203f45934b3a7999186ae6e37d464b8 (patch) | |
tree | a597daefe7324c249120da52cf3bf59466177293 | |
parent | 183094c6db784ff079f4b81c0f0092367692c8eb (diff) | |
download | krb5-fde4ce21e203f45934b3a7999186ae6e37d464b8.zip krb5-fde4ce21e203f45934b3a7999186ae6e37d464b8.tar.gz krb5-fde4ce21e203f45934b3a7999186ae6e37d464b8.tar.bz2 |
cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/saml@23071 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/plugins/authdata/saml_client/saml_authdata.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/authdata/saml_client/saml_authdata.cpp b/src/plugins/authdata/saml_client/saml_authdata.cpp index 28f1f74..e39bf0f 100644 --- a/src/plugins/authdata/saml_client/saml_authdata.cpp +++ b/src/plugins/authdata/saml_client/saml_authdata.cpp @@ -740,11 +740,12 @@ saml_copy(krb5_context kcontext, struct saml_context *src = (struct saml_context *)request_context; struct saml_context *dst = (struct saml_context *)dst_request_context; - if (src->assertion != NULL) + if (src->assertion != NULL) { dst->assertion = (saml2::Assertion *)((void *)src->assertion->clone()); - dst->verified = src->verified; + assert(dst->assertion != NULL); + } - assert(dst->assertion != NULL); + dst->verified = src->verified; return 0; } |