From: cantor Date: Mon, 27 Dec 2010 15:45:32 +0000 (+0000) Subject: Sync post data key size to match new relay state size. X-Git-Tag: 2.4.2~13 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=6c5dff48605a39ba1d12e631b3eb2c0d7ed4b815 Sync post data key size to match new relay state size. git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3390 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/handler/impl/AbstractHandler.cpp b/shibsp/handler/impl/AbstractHandler.cpp index 38c7d92..33d722a 100644 --- a/shibsp/handler/impl/AbstractHandler.cpp +++ b/shibsp/handler/impl/AbstractHandler.cpp @@ -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;