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:
Love Hörnquist Åstrand
2014-03-20 22:35:51 +01:00
parent ad57868996
commit 8a4cf0dd12

View File

@@ -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);
}