summaryrefslogtreecommitdiffstats
path: root/auth_algo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'auth_algo.cpp')
-rw-r--r--auth_algo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth_algo.cpp b/auth_algo.cpp
index d2acebf..b71636b 100644
--- a/auth_algo.cpp
+++ b/auth_algo.cpp
@@ -37,6 +37,7 @@ std::vector<uint8_t> AlgoSHA1::generateICV(std::vector<uint8_t>& input) const
std::cerr << "Generate Session Integrity Key failed\n";
output.resize(0);
}
+ output.resize(integrityCheckValueLength);
return output;
}
OpenPOWER on IntegriCloud