diff options
author | ache <ache@FreeBSD.org> | 1997-06-14 02:29:19 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-14 02:29:19 +0000 |
commit | cc33f39796e9ec4afb74cc4b7abd043d63670724 (patch) | |
tree | 456e60108573f56ee67aeb20dfe26acaf46942d6 /eBones | |
parent | cbd380e632ab39a7d58cad74907d8a84cfa3a8d1 (diff) | |
download | FreeBSD-src-cc33f39796e9ec4afb74cc4b7abd043d63670724.zip FreeBSD-src-cc33f39796e9ec4afb74cc4b7abd043d63670724.tar.gz |
Remove srandomdev fallback code
Diffstat (limited to 'eBones')
-rw-r--r-- | eBones/lib/libkrb/des_rw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eBones/lib/libkrb/des_rw.c b/eBones/lib/libkrb/des_rw.c index 586b46e..36cfaa8 100644 --- a/eBones/lib/libkrb/des_rw.c +++ b/eBones/lib/libkrb/des_rw.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: des_rw.c,v 1.7 1997/02/22 14:37:07 peter Exp $ + * $Id: des_rw.c,v 1.8 1997/03/24 14:52:51 ache Exp $ */ /* @@ -230,8 +230,7 @@ des_write(fd, buf, len) */ if(!seeded) { seeded = 1; - if (srandomdev() < 0) - srandom((unsigned long)(time(NULL) ^ getpid())); + srandomdev(); } for(i = 0 ; i < 8 ; i+= sizeof(long)) { |