Tried the CVS, and in order to make it compile ok and have no
unresolved symbols, something like this patch is needed:

(adds a missing RAND_poll, and removes RAND_query_egd_bytes, 
 since this is not invoked any more by empty RAND_poll)

diff -u -r openssl/crypto/rand/rand_egd.c
openssl_test/crypto/rand/rand_egd.c
--- openssl/crypto/rand/rand_egd.c      Wed Oct  9 11:22:15 2002
+++ openssl_test/crypto/rand/rand_egd.c Wed Oct  9 13:15:55 2002
@@ -94,7 +94,7 @@
  *   RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255.
  */
 
-#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) ||
defined(OPENSSL_SYS_MSDOS)
+#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) ||
defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_VXWORKS)
 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
        {
        return(-1);
diff -u -r openssl/crypto/rand/rand_unix.c
openssl_test/crypto/rand/rand_unix.c

--- openssl/crypto/rand/rand_unix.c     Wed Oct  9 11:22:15 2002
+++ openssl_test/crypto/rand/rand_unix.c        Wed Oct  9 13:32:37 2002
@@ -236,3 +236,10 @@
 }
 
 #endif
+
+#if defined(OPENSSL_SYS_VXWORKS)
+int RAND_poll(void)
+{
+    return 0;
+}
+#endif


Cheers,
Zoran Milojevic

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to