summaryrefslogtreecommitdiffstats
path: root/eBones
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-14 02:29:19 +0000
committerache <ache@FreeBSD.org>1997-06-14 02:29:19 +0000
commitcc33f39796e9ec4afb74cc4b7abd043d63670724 (patch)
tree456e60108573f56ee67aeb20dfe26acaf46942d6 /eBones
parentcbd380e632ab39a7d58cad74907d8a84cfa3a8d1 (diff)
downloadFreeBSD-src-cc33f39796e9ec4afb74cc4b7abd043d63670724.zip
FreeBSD-src-cc33f39796e9ec4afb74cc4b7abd043d63670724.tar.gz
Remove srandomdev fallback code
Diffstat (limited to 'eBones')
-rw-r--r--eBones/lib/libkrb/des_rw.c5
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)) {
OpenPOWER on IntegriCloud