The unified diff between revisions [6afe2db1..] 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 [18cad51f740efcc1961b093d061c1b0e79417679]
#    to [0772628727b4f4a862aeba06213e5972397e3a35]
#
============================================================
--- src/s2k.cpp	18cad51f740efcc1961b093d061c1b0e79417679
+++ src/s2k.cpp	0772628727b4f4a862aeba06213e5972397e3a35
@@ -4,7 +4,7 @@
 *************************************************/

 #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);
    }

 }