openssh/openssh-5.8p1-entropy.patch
Jan F 8fe15092c3 add periodical reseeding of random generator
change selinux contex for internal sftp in do_usercontext
exit(0) after sigterm
2011-03-17 08:18:17 +01:00

14 lines
384 B
Diff

diff -up openssh-5.8p1/entropy.c.reseed openssh-5.8p1/entropy.c
--- openssh-5.8p1/entropy.c.reseed 2011-01-13 11:05:29.000000000 +0100
+++ openssh-5.8p1/entropy.c 2011-03-15 10:18:16.623980109 +0100
@@ -70,6 +70,9 @@ static uid_t original_uid, original_euid
void
seed_rng(void)
{
+#ifdef USE_PRNG_DEVICE
+/* not yet */
+#endif
#ifndef OPENSSL_PRNG_ONLY
int devnull;
int p[2];