aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/symkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/base/symkey.cpp')
-rw-r--r--src/lib/base/symkey.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/base/symkey.cpp b/src/lib/base/symkey.cpp
index 2f739998f..d5a02a45d 100644
--- a/src/lib/base/symkey.cpp
+++ b/src/lib/base/symkey.cpp
@@ -16,9 +16,9 @@ namespace Botan {
* Create an OctetString from RNG output
*/
OctetString::OctetString(RandomNumberGenerator& rng,
- size_t length)
+ size_t len)
{
- m_data = rng.random_vec(length);
+ m_data = rng.random_vec(len);
}
/*