summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-13 01:05:06 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-13 01:05:06 +0000
commit630ce290f10e5e0256f0a0009e449b4251887029 (patch)
tree3c23e3edf5455bc668a5e800fc71190305237567
parenta63e16bc4bc7930760d45e081c0020a16d43d477 (diff)
downloadshadow-630ce290f10e5e0256f0a0009e449b4251887029.tar.gz
Removed
-rw-r--r--debian/patches/0020-random_rand_max.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches/0020-random_rand_max.patch b/debian/patches/0020-random_rand_max.patch
deleted file mode 100644
index aca36f0..0000000
--- a/debian/patches/0020-random_rand_max.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
-Date: Wed, 13 Jun 2012 00:20:33 +0000
-Subject: 0020-random_rand_max
-
----
- libmisc/salt.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libmisc/salt.c b/libmisc/salt.c
-index e0f278e..ba9f9a7 100644
---- a/libmisc/salt.c
-+++ b/libmisc/salt.c
-@@ -90,7 +90,7 @@ static size_t SHA_salt_size (void)
- {
- double rand_size;
- seedRNG ();
-- rand_size = (double) 9.0 * random () / RAND_MAX;
-+ rand_size = (double) 9.0 * random () / LONG_MAX;
- return (size_t) (8 + rand_size);
- }
-