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/pbes1.cpp'

#
#
# patch "src/pbes1.cpp"
#  from [9ff336e0d509325626e80c2dff2fdcfb462f7791]
#    to [4d0a544192358205f1728ff1387c6a3d9d6ccafa]
#
============================================================
--- src/pbes1.cpp	9ff336e0d509325626e80c2dff2fdcfb462f7791
+++ src/pbes1.cpp	4d0a544192358205f1728ff1387c6a3d9d6ccafa
@@ -8,7 +8,7 @@
 #include <botan/ber_dec.h>
 #include <botan/parsing.h>
 #include <botan/lookup.h>
-#include <botan/rng.h>
+#include <botan/libstate.h>
 #include <algorithm>
 #include <memory>

@@ -86,7 +86,7 @@ void PBE_PKCS5v15::new_params()
    {
    iterations = 2048;
    salt.create(8);
-   Global_RNG::randomize(salt, salt.size());
+   global_state().randomize(salt, salt.size());
    }

 /*************************************************