X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fdropin.c;h=f6eda42a5ebd0797dfac120bc9c5c5352212d6f2;hp=23d2b136f304f798ffe9536da0fdee66d23afaaa;hb=6f1e0ece4e61f30612ed84ca4640635a02892cc8;hpb=5e0efd53e797a2b5468b91b41b6122f3b942efb2 diff --git a/lib/dropin.c b/lib/dropin.c index 23d2b136..f6eda42a 100644 --- a/lib/dropin.c +++ b/lib/dropin.c @@ -168,15 +168,3 @@ int gettimeofday(struct timeval *tv, void *tz) { return 0; } #endif - -#ifndef HAVE_RANDOM -#include - -long int random(void) { - long int x; - - RAND_pseudo_bytes((unsigned char *)&x, sizeof(x)); - - return x; -} -#endif