+2001-12-04 Herold Heiko <Heiko.Herold@previnet.it>
+
+ * windows\Makefile.src: add gen_sslfunc.c
+
+ * windows\Makefile.src.bor: ditto.
+
2001-12-01 Hrvoje Niksic <hniksic@arsdigita.com>
* po/hr.po: Updated Croatian translation.
+2001-12-04 Herold Heiko <Heiko.Herold@previnet.it>
+
+ * gen_sslfunc.c: on windows provide ssl crypto random
+ initialization through RAND_screen(); could possibly
+ be not enough for strong ssl communication (see the
+ relevant manual page from the openssl package).
+
2001-12-04 Hrvoje Niksic <hniksic@arsdigita.com>
* url.c (local_quote_string): Reenable quoting of question marks,
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)
{
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 */
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
netrc.obj+
mswindows.obj+
gnu-md5.obj+
+gen-md5.obj+
main.obj+
log.obj+
init.obj+