Module Name: src
Committed By: christos
Date: Sun Jan 29 01:46:17 UTC 2017
Modified Files:
src/crypto/external/bsd/heimdal/include: config.h
Log Message:
override arc4* for tools build.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/heimdal/include/config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/heimdal/include/config.h
diff -u src/crypto/external/bsd/heimdal/include/config.h:1.7 src/crypto/external/bsd/heimdal/include/config.h:1.8
--- src/crypto/external/bsd/heimdal/include/config.h:1.7 Sat Jan 28 16:31:51 2017
+++ src/crypto/external/bsd/heimdal/include/config.h Sat Jan 28 20:46:16 2017
@@ -3,12 +3,14 @@
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
-#endif
+#define arc4random random
+#define arc4random_stir() srandom(time(NULL))
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#undef PACKAGE_BUGREPORT
+#endif
#ifndef RCSID
#define RCSID(msg) \