diff -urbB wget/src/gen_sslfunc.c wget.wip/src/gen_sslfunc.c
--- wget/src/gen_sslfunc.c	Fri Nov 30 09:18:19 2001
+++ wget.wip/src/gen_sslfunc.c	Tue Dec  4 07:39:31 2001
@@ -70,6 +70,7 @@
       RAND_seed((unsigned char *)&t, sizeof(time_t));
       /* Initialize system's random number generator */
       RAND_bytes((unsigned char *)&seed, sizeof(long));
+#ifndef WINDOWS
       srand48(seed);
       while (RAND_status () == 0)
 	{
@@ -78,6 +79,12 @@
 	  l = lrand48();
 	  RAND_seed((unsigned char *)&l, sizeof(long));
 	}
+#else /* WINDOWS */
+      RAND_screen();
+      if (RAND_status() == 0)
+        /* Here we should probably disable the whole ssl protocol ? HEH */
+        DEBUGP (("SSL random data generator not seeded correctly, %i",RAND_status()));
+#endif /* WINDOWS */
       if (rand_file != NULL)
 	{
 	  /* Write a rand_file */
diff -urbB wget/windows/Makefile.src wget.wip/windows/Makefile.src
--- wget/windows/Makefile.src	Thu Nov 29 14:30:24 2001
+++ wget.wip/windows/Makefile.src	Tue Dec  4 07:40:25 2001
@@ -55,12 +55,12 @@
 SRC = cmpt.c safe-ctype.c connect.c host.c http.c netrc.c ftp-basic.c ftp.c \
       ftp-ls.c ftp-opie.c getopt.c hash.c headers.c html-parse.c html-url.c \
       progress.c retr.c recur.c res.c url.c cookies.c init.c utils.c main.c \
-      version.c mswindows.c fnmatch.c gnu-md5.c rbuf.c log.c $(SSLSRC)
+      version.c mswindows.c fnmatch.c gen-md5.c gnu-md5.c rbuf.c log.c $(SSLSRC)
 
 OBJ = cmpt$o safe-ctype$o connect$o host$o http$o netrc$o ftp-basic$o ftp$o \
       ftp-ls$o ftp-opie$o getopt$o hash$o headers$o html-parse$o html-url$o \
       progress$o retr$o recur$o res$o url$o cookies$o init$o utils$o main$o \
-      version$o mswindows$o fnmatch$o gnu-md5$o rbuf$o log$o $(SSLOBJ)
+      version$o mswindows$o fnmatch$o gen-md5$o gnu-md5$o rbuf$o log$o $(SSLOBJ)
 
 .SUFFIXES: .c .obj
 
diff -urbB wget/windows/Makefile.src.bor wget.wip/windows/Makefile.src.bor
--- wget/windows/Makefile.src.bor	Thu Nov 29 14:30:24 2001
+++ wget.wip/windows/Makefile.src.bor	Tue Dec  4 07:40:45 2001
@@ -32,6 +32,7 @@
 netrc.obj+
 mswindows.obj+
 gnu-md5.obj+
+gen-md5.obj+
 main.obj+
 log.obj+
 init.obj+
