diff options
Diffstat (limited to 'src/lib/libcrypto/crypto/getentropy_solaris.c')
-rw-r--r-- | src/lib/libcrypto/crypto/getentropy_solaris.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/crypto/getentropy_solaris.c b/src/lib/libcrypto/crypto/getentropy_solaris.c index c6a9bfff4b..fed0eeb53a 100644 --- a/src/lib/libcrypto/crypto/getentropy_solaris.c +++ b/src/lib/libcrypto/crypto/getentropy_solaris.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: getentropy_solaris.c,v 1.7 2014/07/13 13:37:38 deraadt Exp $ */ | 1 | /* $OpenBSD: getentropy_solaris.c,v 1.8 2014/07/19 16:12:00 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> | 4 | * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> |
@@ -68,9 +68,6 @@ | |||
68 | 68 | ||
69 | int getentropy(void *buf, size_t len); | 69 | int getentropy(void *buf, size_t len); |
70 | 70 | ||
71 | #if 0 | ||
72 | extern int main(int, char *argv[]); | ||
73 | #endif | ||
74 | static int gotdata(char *buf, size_t len); | 71 | static int gotdata(char *buf, size_t len); |
75 | static int getentropy_urandom(void *buf, size_t len, const char *path, | 72 | static int getentropy_urandom(void *buf, size_t len, const char *path, |
76 | int devfscheck); | 73 | int devfscheck); |
@@ -315,9 +312,6 @@ getentropy_fallback(void *buf, size_t len) | |||
315 | HX(sigprocmask(SIG_BLOCK, NULL, &sigset) == -1, | 312 | HX(sigprocmask(SIG_BLOCK, NULL, &sigset) == -1, |
316 | sigset); | 313 | sigset); |
317 | 314 | ||
318 | #if 0 | ||
319 | HF(main); /* an addr in program */ | ||
320 | #endif | ||
321 | HF(getentropy); /* an addr in this library */ | 315 | HF(getentropy); /* an addr in this library */ |
322 | HF(printf); /* an addr in libc */ | 316 | HF(printf); /* an addr in libc */ |
323 | p = (char *)&p; | 317 | p = (char *)&p; |