don't see anything since /dev/random doesn't really need more seeding
redhat have Linux SE rules that slows down openssh when heimdal tries to write, so lets not write. https://bugzilla.redhat.com/show_bug.cgi?id=1076979
This commit is contained in:
@@ -73,19 +73,6 @@ _hc_unix_device_fd(int flags, const char **fn)
|
||||
static void
|
||||
unix_seed(const void *indata, int size)
|
||||
{
|
||||
int fd;
|
||||
|
||||
if (size <= 0)
|
||||
return;
|
||||
|
||||
fd = _hc_unix_device_fd(O_WRONLY, NULL);
|
||||
if (fd < 0)
|
||||
return;
|
||||
|
||||
if (write(fd, indata, size) != size)
|
||||
; /* don't care */
|
||||
close(fd);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user