From 3bc9bf8c1078e8427596f4a4022d769513094135 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Fri, 28 Oct 2016 11:25:18 +0300 Subject: dev-libs/botan: version bump Package-Manager: portage-2.3.0 --- dev-libs/botan/files/botan-1.11.32-urandom.patch | 26 ------------------------ 1 file changed, 26 deletions(-) delete mode 100644 dev-libs/botan/files/botan-1.11.32-urandom.patch (limited to 'dev-libs/botan/files') diff --git a/dev-libs/botan/files/botan-1.11.32-urandom.patch b/dev-libs/botan/files/botan-1.11.32-urandom.patch deleted file mode 100644 index 6a4c53f79c12..000000000000 --- a/dev-libs/botan/files/botan-1.11.32-urandom.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp -index 135f4fa..3b44d5a 100644 ---- a/src/lib/rng/system_rng/system_rng.cpp -+++ b/src/lib/rng/system_rng/system_rng.cpp -@@ -74,7 +74,7 @@ System_RNG_Impl::System_RNG_Impl() - #define O_NOCTTY 0 - #endif - -- m_fd = ::open(BOTAN_SYSTEM_RNG_DEVICE, O_RDWR | O_NOCTTY); -+ m_fd = ::open(BOTAN_SYSTEM_RNG_DEVICE, O_RDONLY | O_NOCTTY); - if(m_fd < 0) - throw Exception("System_RNG failed to open RNG device"); - #endif -diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp -index d481116..5b9f5fd 100644 ---- a/src/tests/test_ffi.cpp -+++ b/src/tests/test_ffi.cpp -@@ -74,7 +74,7 @@ class FFI_Unit_Tests : public Test - if(TEST_FFI_OK(botan_rng_init, (&rng, "system"))) - { - TEST_FFI_OK(botan_rng_get, (rng, outbuf.data(), outbuf.size())); -- TEST_FFI_OK(botan_rng_reseed, (rng, 256)); -+ //TEST_FFI_OK(botan_rng_reseed, (rng, 256)); - TEST_FFI_OK(botan_rng_destroy, (rng)); - } - -- cgit v1.2.3-65-gdbad