[cpp-sp COMMIT] /branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp

noreply at shibboleth.net noreply at shibboleth.net
Mon Apr 30 15:08:18 BST 2012


Author: scantor
Date: Mon Apr 30 15:08:17 2012
New Revision: 3631

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3631&view=rev
Log:
Missing min macro

Modified:
    branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp

Modified: branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp?rev=3631&r1=3630&r2=3631&view=diff
==============================================================================
--- branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp (original)
+++ branches/REL_2/shibsp/handler/impl/ExternalAuthHandler.cpp Mon Apr 30 15:08:17 2012
@@ -61,6 +61,9 @@
 using saml2::NameID;
 using saml2::AuthnStatement;
 using saml2::AuthnContext;
+# ifndef min
+#  define min(a,b)            (((a) < (b)) ? (a) : (b))
+# endif
 #endif
 
 using namespace shibspconstants;
@@ -528,7 +531,6 @@
         static const XMLCh _SessionID[] = UNICODE_LITERAL_9(S,e,s,s,i,o,n,I,D);
         static const XMLCh _RelayState[] = UNICODE_LITERAL_10(R,e,l,a,y,S,t,a,t,e);
         static const XMLCh _Cookie[] = UNICODE_LITERAL_6(C,o,o,k,i,e);
-        static const XMLCh _name[] = UNICODE_LITERAL_4(n,a,m,e);
         DOMDocument* retdoc = XMLToolingConfig::getConfig().getParser().newDocument();
         XercesJanitor<DOMDocument> retjanitor(retdoc);
         retdoc->appendChild(retdoc->createElement(_ExternalAuth));



More information about the commits mailing list