From 6c5dff48605a39ba1d12e631b3eb2c0d7ed4b815 Mon Sep 17 00:00:00 2001 From: cantor Date: Mon, 27 Dec 2010 15:45:32 +0000 Subject: [PATCH] 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 --- shibsp/handler/impl/AbstractHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.1.4