The unified diff between revisions [92f17752..] and [4e40e885..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/s2k.cpp'
#
#
# patch "src/s2k.cpp"
# from [edc80c7f6a50d8cc113d9e0ab44b2f49a05e54f2]
# to [0772628727b4f4a862aeba06213e5972397e3a35]
#
============================================================
--- src/s2k.cpp edc80c7f6a50d8cc113d9e0ab44b2f49a05e54f2
+++ src/s2k.cpp 0772628727b4f4a862aeba06213e5972397e3a35
@@ -1,10 +1,10 @@
/*************************************************
* S2K Source File *
-* (C) 1999-2006 The Botan Project *
+* (C) 1999-2007 Jack Lloyd *
*************************************************/
#include <botan/s2k.h>
-#include <botan/rng.h>
+#include <botan/libstate.h>
namespace Botan {
@@ -47,7 +47,7 @@ void S2K::new_random_salt(u32bit length)
void S2K::new_random_salt(u32bit length)
{
salt.create(length);
- Global_RNG::randomize(salt, length);
+ global_state().randomize(salt, length);
}
}