summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2016-10-28 11:25:18 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2016-10-28 11:26:03 +0300
commit3bc9bf8c1078e8427596f4a4022d769513094135 (patch)
tree0c911f8fa822397427b51b66836e0addba12ffcc /dev-libs/botan/files
parentnet-im/toxic: new package (diff)
downloadgentoo-3bc9bf8c1078e8427596f4a4022d769513094135.tar.gz
gentoo-3bc9bf8c1078e8427596f4a4022d769513094135.tar.bz2
gentoo-3bc9bf8c1078e8427596f4a4022d769513094135.zip
dev-libs/botan: version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/botan/files')
-rw-r--r--dev-libs/botan/files/botan-1.11.32-urandom.patch26
1 files changed, 0 insertions, 26 deletions
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));
- }
-