From: Scott Cantor Date: Sun, 15 May 2011 20:41:18 +0000 (+0000) Subject: Fix issuer auto-extraction from token. X-Git-Tag: 1.0.0~16 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=commitdiff_plain;h=68c647b17e00e5924fe10c7d3ea8e5aa5d44594c;ds=sidebyside Fix issuer auto-extraction from token. --- diff --git a/src/shibresolver/resolver.cpp b/src/shibresolver/resolver.cpp index 0c7ec52..79c3537 100644 --- a/src/shibresolver/resolver.cpp +++ b/src/shibresolver/resolver.cpp @@ -405,7 +405,7 @@ void RemotedResolver::resolve( log.warn("no metadata providers are configured"); } else { - if (!issuerstr.empty()) { + if (issuerstr.empty()) { // Attempt to locate an issuer based on input token. for (vector::const_iterator t = tokens.begin(); t!=tokens.end(); ++t) { const saml2::Assertion* assertion = dynamic_cast(*t);