[cpp-sp COMMIT] in /branches/REL_2/shibsp/handler/impl: SAML2Logout.cpp SAML2NameIDMgmt.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Thu Nov 10 19:54:28 GMT 2011
Author: scantor
Date: Thu Nov 10 19:54:28 2011
New Revision: 3543
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3543&view=rev
Log:
Fix some warnings.
Modified:
branches/REL_2/shibsp/handler/impl/SAML2Logout.cpp
branches/REL_2/shibsp/handler/impl/SAML2NameIDMgmt.cpp
Modified: branches/REL_2/shibsp/handler/impl/SAML2Logout.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/SAML2Logout.cpp?rev=3543&r1=3542&r2=3543&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/SAML2Logout.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/SAML2Logout.cpp Thu Nov 10 19:54:28 2011
@@ -38,7 +38,6 @@
# include "security/SecurityPolicy.h"
# include "security/SecurityPolicyProvider.h"
# include "metadata/MetadataProviderCriteria.h"
-# include "util/TemplateParameters.h"
# include <fstream>
# include <saml/exceptions.h>
# include <saml/SAMLConfig.h>
@@ -669,7 +668,7 @@
if (front) {
const IDPSSODescriptor* idp = dynamic_cast<const IDPSSODescriptor*>(role);
for (vector<const XMLCh*>::const_iterator b = m_bindings.begin(); idp && b!=m_bindings.end(); ++b) {
- if (ep=EndpointManager<SingleLogoutService>(idp->getSingleLogoutServices()).getByBinding(*b)) {
+ if ((ep=EndpointManager<SingleLogoutService>(idp->getSingleLogoutServices()).getByBinding(*b))) {
map<const XMLCh*,MessageEncoder*>::const_iterator enc = m_encoders.find(*b);
if (enc!=m_encoders.end())
encoder = enc->second;
Modified: branches/REL_2/shibsp/handler/impl/SAML2NameIDMgmt.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/SAML2NameIDMgmt.cpp?rev=3543&r1=3542&r2=3543&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/SAML2NameIDMgmt.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/SAML2NameIDMgmt.cpp Thu Nov 10 19:54:28 2011
@@ -37,7 +37,6 @@
# include "SessionCache.h"
# include "security/SecurityPolicy.h"
# include "security/SecurityPolicyProvider.h"
-# include "util/TemplateParameters.h"
# include <fstream>
# include <saml/exceptions.h>
# include <saml/SAMLConfig.h>
@@ -512,7 +511,7 @@
if (front) {
const IDPSSODescriptor* idp = dynamic_cast<const IDPSSODescriptor*>(role);
for (vector<const XMLCh*>::const_iterator b = m_bindings.begin(); idp && b!=m_bindings.end(); ++b) {
- if (ep=EndpointManager<ManageNameIDService>(idp->getManageNameIDServices()).getByBinding(*b)) {
+ if ((ep=EndpointManager<ManageNameIDService>(idp->getManageNameIDServices()).getByBinding(*b))) {
map<const XMLCh*,MessageEncoder*>::const_iterator enc = m_encoders.find(*b);
if (enc!=m_encoders.end())
encoder = enc->second;
More information about the commits
mailing list