From b4ff2645a933aef01fbc03fd51fc1cfb6e1936fc Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 2 May 2007 18:00:37 +0000 Subject: [PATCH] Missing () in if statement. --- saml/saml2/binding/impl/SAML2POSTDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp index bec0d43..14a06ae 100644 --- a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp @@ -131,7 +131,7 @@ XMLObject* SAML2POSTDecoder::decode( // Check destination URL. auto_ptr_char dest(request ? request->getDestination() : response->getDestination()); const char* dest2 = httpRequest->getRequestURL(); - if ((root->getSignature() || httpRequest->getParameter("Signature")) && !dest.get() || !*(dest.get())) { + if ((root->getSignature() || httpRequest->getParameter("Signature")) && (!dest.get() || !*(dest.get()))) { log.error("signed SAML message missing Destination attribute"); throw BindingException("Signed SAML message missing Destination attribute identifying intended destination."); } -- 2.1.4