Sync post data key size to match new relay state size.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 27 Dec 2010 15:45:32 +0000 (15:45 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 27 Dec 2010 15:45:32 +0000 (15:45 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3390 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/handler/impl/AbstractHandler.cpp

index 38c7d92..33d722a 100644 (file)
@@ -566,7 +566,7 @@ void AbstractHandler::preservePostData(
             if (storage) {
                 // Use a random key
                 string rsKey;
-                SAMLConfig::getConfig().generateRandomBytes(rsKey,20);
+                SAMLConfig::getConfig().generateRandomBytes(rsKey,32);
                 rsKey = SAMLArtifact::toHex(rsKey);
                 ostringstream out;
                 out << postData;