aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-05-24 18:58:20 +0000
committerlloyd <[email protected]>2008-05-24 18:58:20 +0000
commitc66c9ad30fc635f25a0564ad8b7722fceda92a73 (patch)
tree393246cf9e13f1928bfeb0cd8e0e670c84296e8f /src
parent0d31ffcbc89d232e2682110733ca2d969af1e15e (diff)
Remove version of OctetString::change that used global PRNG
Diffstat (limited to 'src')
-rw-r--r--src/symkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symkey.cpp b/src/symkey.cpp
index db70810fb..b5ddb6af9 100644
--- a/src/symkey.cpp
+++ b/src/symkey.cpp
@@ -15,7 +15,7 @@ namespace Botan {
/*************************************************
* Create an OctetString from RNG output *
*************************************************/
-void OctetString::change(u32bit length)
+OctetString::OctetString(u32bit length)
{
bits.create(length);
global_state().randomize(bits, length);