Sync post data key size to match new relay state size.
authorScott Cantor <cantor.2@osu.edu>
Mon, 27 Dec 2010 15:45:32 +0000 (15:45 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 27 Dec 2010 15:45:32 +0000 (15:45 +0000)
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;