]> andersk Git - openssh.git/blobdiff - helper.c
- Merged OpenBSD CVS changes:
[openssh.git] / helper.c
index c9aa51e4fac715e7671f439aa27cd9a9086f9ab6..6959535d2d7f7c4597cd180271627522349909c2 100644 (file)
--- a/helper.c
+++ b/helper.c
 
 #include "rc4.h"
 #include "xmalloc.h"
-
+#include "config.h"
 #include "helper.h"
 
+#ifndef HAVE_ARC4RANDOM
+
 void get_random_bytes(unsigned char *buf, int len);
 
 static rc4_t *rc4 = NULL;
 
-void setproctitle(const char *fmt, ...)
-{
-       /* FIXME */
-}
-
 unsigned int arc4random(void)
 {
        unsigned int r;
@@ -105,4 +102,11 @@ void get_random_bytes(unsigned char *buf, int len)
                exit(1);
        }
 }
+#endif /* !HAVE_ARC4RANDOM */
 
+#ifndef HAVE_SETPROCTITLE
+void setproctitle(const char *fmt, ...)
+{
+       /* FIXME */
+}
+#endif /* !HAVE_SETPROCTITLE */
This page took 0.026036 seconds and 4 git commands to generate.