diff options
Diffstat (limited to 'src/pbes1.cpp')
-rw-r--r-- | src/pbes1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pbes1.cpp b/src/pbes1.cpp index fb8889fdc..8e548f6b4 100644 --- a/src/pbes1.cpp +++ b/src/pbes1.cpp @@ -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()); } /************************************************* |