X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml2%2Fcore%2Fimpl%2FAssertions.cpp;fp=saml%2Fsaml2%2Fcore%2Fimpl%2FAssertions.cpp;h=dbbc6e3076ebc6671dc7745752006fa1569a8e48;hb=19a320b1a8d5c733503a4b1aa842865d59b25d24;hp=585723a8d102c1930152527c2cc9733dca3c55c3;hpb=88fd73c5c117f708f09171375ae1890cb86bab8b;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml2/core/impl/Assertions.cpp b/saml/saml2/core/impl/Assertions.cpp index 585723a..dbbc6e3 100644 --- a/saml/saml2/core/impl/Assertions.cpp +++ b/saml/saml2/core/impl/Assertions.cpp @@ -79,9 +79,6 @@ void EncryptedElementType::encrypt( const XMLCh* algorithm ) { - if (recipients.size()==1) - return encrypt(xmlObject, *recipients.front().first, *recipients.front().second, compact, algorithm); - // With multiple recipients, we have to generate an encryption key and then multicast it, // so we need to split the encryption and key wrapping steps. if (!algorithm || !*algorithm)