Fix version in HTTP header, skip correlation check when no value to check.
[shibboleth/cpp-opensaml.git] / saml / binding / impl / SOAPClient.cpp
index 5d15bca..a68d262 100644 (file)
@@ -61,7 +61,7 @@ void SOAPClient::prepareTransport(const xmltooling::SOAPTransport& transport)
     if (http) {
         http->setRequestHeader("SOAPAction", "http://www.oasis-open.org/committees/security");
         http->setRequestHeader("Xerces-C", XERCES_FULLVERSIONDOT);
-        http->setRequestHeader("XML-Security-C", XSEC_VERSION);
+        http->setRequestHeader("XML-Security-C", XSEC_FULLVERSIONDOT);
         http->setRequestHeader("OpenSAML-C", OPENSAML_FULLVERSIONDOT);
     }