]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/bsd-arc4random.c
Import of OpenSSH 4.9p1
[gssapi-openssh.git] / openssh / openbsd-compat / bsd-arc4random.c
index 625bf7375afdbe3ce31b6ed1fee7d14bfb3bda97..d45fb182a6fb9725bb8794d7f7b947a8bf2f6c7a 100644 (file)
  */
 
 #include "includes.h"
-#include "log.h"
 
-RCSID("$Id$");
+#include <sys/types.h>
+
+#include <string.h>
+#include <stdarg.h>
+
+#include "log.h"
 
 #ifndef HAVE_ARC4RANDOM
 
@@ -34,7 +38,8 @@ RCSID("$Id$");
 static int rc4_ready = 0;
 static RC4_KEY rc4;
 
-unsigned int arc4random(void)
+unsigned int
+arc4random(void)
 {
        unsigned int r = 0;
        static int first_time = 1;
@@ -53,7 +58,8 @@ unsigned int arc4random(void)
        return(r);
 }
 
-void arc4random_stir(void)
+void
+arc4random_stir(void)
 {
        unsigned char rand_buf[SEED_SIZE];
        int i;
This page took 0.03094 seconds and 4 git commands to generate.