summaryrefslogtreecommitdiffstats
path: root/src/modules/AuthBackendChallengeResponse
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/AuthBackendChallengeResponse')
-rw-r--r--src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.cpp b/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.cpp
index 39f2672..5878362 100644
--- a/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.cpp
+++ b/src/modules/AuthBackendChallengeResponse/AuthBackendChallengeResponse.cpp
@@ -28,9 +28,9 @@ namespace AuthBackendChallengeResponse {
const std::string AuthBackendChallengeResponse::methodName = "Challenge-Response";
AuthBackendChallengeResponse::AuthContextChallengeResponse::AuthContextChallengeResponse(AuthBackendChallengeResponse *backend) : authenticated(false) {
- challenge.reserve(20);
+ challenge.reserve(32);
- for(int i = 0; i < 20; ++i)
+ for(int i = 0; i < 32; ++i)
challenge.push_back(backend->randomGenerator());
}