Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal/include Randomness isn't terribl...



details:   https://anonhg.NetBSD.org/src/rev/b4c5772ac77d
branches:  trunk
changeset: 764313:b4c5772ac77d
user:      elric <elric%NetBSD.org@localhost>
date:      Fri Apr 15 21:03:51 2011 +0000

description:
Randomness isn't terribly necessary when we are building tools.

diffstat:

 crypto/external/bsd/heimdal/include/roken.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 7dafbc5ce96b -r b4c5772ac77d crypto/external/bsd/heimdal/include/roken.h
--- a/crypto/external/bsd/heimdal/include/roken.h       Fri Apr 15 21:03:31 2011 +0000
+++ b/crypto/external/bsd/heimdal/include/roken.h       Fri Apr 15 21:03:51 2011 +0000
@@ -291,7 +291,11 @@
 
 
 
+#ifdef HAVE_NBTOOL_CONFIG_H
+#define rk_random() 0
+#else
 #define rk_random() arc4random()
+#endif
 
 
 



Home | Main Index | Thread Index | Old Index