aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_unix.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-10-14 09:44:57 +0000
committerRichard Levitte <levitte@openssl.org>2002-10-14 09:44:57 +0000
commit57d8ff79b27e0b5ed33220f605e714a921db998b (patch)
tree076028b9ff440e57c1d1df91ef8b14296cfb743d /crypto/rand/rand_unix.c
parent4b14ed760d29ea34ea9354af5435b3a9f65e412e (diff)
downloadopenssl-57d8ff79b27e0b5ed33220f605e714a921db998b.tar.gz
Complete the VxWorks fix by implementing a NULL RAND_poll() for it.
PR: 253
Diffstat (limited to 'crypto/rand/rand_unix.c')
-rw-r--r--crypto/rand/rand_unix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c
index 7de21d37d0..4175576fcc 100644
--- a/crypto/rand/rand_unix.c
+++ b/crypto/rand/rand_unix.c
@@ -236,3 +236,10 @@ int RAND_poll(void)
}
#endif
+
+#if defined(OPENSSL_SYS_VXWORKS)
+int RAND_poll(void)
+{
+ return 0;
+}
+#endif