The unified diff between revisions [2fac918f..] and [4e40e885..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/eme1.cpp'

#
#
# patch "src/eme1.cpp"
#  from [013b576a89f274430f9dcd121501ee880f9a4d7a]
#    to [00d13c8afa26f93a0b45dc81946d8d6db10baf93]
#
============================================================
--- src/eme1.cpp	013b576a89f274430f9dcd121501ee880f9a4d7a
+++ src/eme1.cpp	00d13c8afa26f93a0b45dc81946d8d6db10baf93
@@ -4,7 +4,7 @@
 *************************************************/

 #include <botan/eme.h>
-#include <botan/rng.h>
+#include <botan/libstate.h>
 #include <botan/lookup.h>
 #include <botan/look_pk.h>
 #include <memory>
@@ -26,7 +26,7 @@ SecureVector<byte> EME1::pad(const byte

    out.clear();

-   Global_RNG::randomize(out, HASH_LENGTH);
+   global_state().randomize(out, HASH_LENGTH);

    out.copy(HASH_LENGTH, Phash, Phash.size());
    out[out.size() - in_length - 1] = 0x01;