diff options
author | lloyd <[email protected]> | 2008-05-24 18:54:35 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-05-24 18:54:35 +0000 |
commit | 0d31ffcbc89d232e2682110733ca2d969af1e15e (patch) | |
tree | 13964c2c10eec341e3765d02b603998d205f42b5 /include | |
parent | f8078f5904fce5cbfd69516b175872496bdc2267 (diff) |
Avoid global RNG in S2K::new_random_salt (RNG reference passed as argument instead)
Diffstat (limited to 'include')
-rw-r--r-- | include/s2k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/s2k.h b/include/s2k.h index 88cc16d68..cfe735cd9 100644 --- a/include/s2k.h +++ b/include/s2k.h @@ -25,7 +25,7 @@ class BOTAN_DLL S2K void set_iterations(u32bit); void change_salt(const byte[], u32bit); void change_salt(const MemoryRegion<byte>&); - void new_random_salt(u32bit); + void new_random_salt(RandomNumberGenerator& rng, u32bit); u32bit iterations() const { return iter; } SecureVector<byte> current_salt() const { return salt; } |