aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Howard <lukeh@padl.com>2009-10-27 12:28:33 +0000
committerLuke Howard <lukeh@padl.com>2009-10-27 12:28:33 +0000
commitfde4ce21e203f45934b3a7999186ae6e37d464b8 (patch)
treea597daefe7324c249120da52cf3bf59466177293
parent183094c6db784ff079f4b81c0f0092367692c8eb (diff)
downloadkrb5-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.cpp7
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;
}