projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Raise default RSA key length to 2048 bits.
[tinc]
/
lib
/
dropin.c
diff --git
a/lib/dropin.c
b/lib/dropin.c
index
23d2b13
..
1c2592d
100644
(file)
--- a/
lib/dropin.c
+++ b/
lib/dropin.c
@@
-135,7
+135,6
@@
int asprintf(char **buf, const char *fmt, ...) {
}
int vasprintf(char **buf, const char *fmt, va_list ap) {
}
int vasprintf(char **buf, const char *fmt, va_list ap) {
-{
int status;
va_list aq;
int len;
int status;
va_list aq;
int len;
@@
-168,15
+167,3
@@
int gettimeofday(struct timeval *tv, void *tz) {
return 0;
}
#endif
return 0;
}
#endif
-
-#ifndef HAVE_RANDOM
-#include <openssl/rand.h>
-
-long int random(void) {
- long int x;
-
- RAND_pseudo_bytes((unsigned char *)&x, sizeof(x));
-
- return x;
-}
-#endif