aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-27 15:46:02 +0000
committerlloyd <[email protected]>2008-06-27 15:46:02 +0000
commit09d2b6df9a2a680476160a6a0a56c4b4f2fb91aa (patch)
treeaec3bd3a9b2eb520067b8af20e61c9f654cd230a /include
parent9d77dd59ab4a7d122a20b0d89ae081a177f38287 (diff)
OctetString now requires a RandomNumberGenerator& to create a random
key or IV; it does not reference the global RNG.
Diffstat (limited to 'include')
-rw-r--r--include/symkey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/symkey.h b/include/symkey.h
index 93946d12d..f3211eb0f 100644
--- a/include/symkey.h
+++ b/include/symkey.h
@@ -33,7 +33,7 @@ class BOTAN_DLL OctetString
void change(const byte[], u32bit);
void change(const MemoryRegion<byte>& in) { bits = in; }
- OctetString(u32bit len);
+ OctetString(class RandomNumberGenerator&, u32bit len);
OctetString(const std::string& str = "") { change(str); }
OctetString(const byte in[], u32bit len) { change(in, len); }
OctetString(const MemoryRegion<byte>& in) { change(in); }