Re: Patch for 0.9.8 (DJGPP)

2004-09-12 Thread Doug Kaufman
On Thu, 9 Sep 2004, Andy Polyakov wrote: +#ifdef __DJGPP__ +int RAND_poll(void) +{ +for (i = 0; i sizeof(buf); i++) { +srand(rawclock() + i); +... The problem is that value returned by rawclock() will most likely remain constant for every invocation of the

Re: Patch for 0.9.8 (DJGPP)

2004-09-09 Thread Andy Polyakov
+#ifdef __DJGPP__ +int RAND_poll(void) +{ +for (i = 0; i sizeof(buf); i++) { +srand(rawclock() + i); +... The problem is that value returned by rawclock() will most likely remain constant for every invocation of the routine in question. Or rather that probability of its

Re: Test of 0.9.8 under DJGPP (was Re: [openssl.org #932] Patch for 0.9.8 (DJGPP))

2004-09-07 Thread Doug Kaufman
On Mon, 6 Sep 2004, Doug Kaufman wrote: On Mon, 6 Sep 2004, Andy Polyakov wrote: (Gisle Vanem wrote) To be able to use SSE2 code on a Pentium 4(?) , you need to add -DOPENSSL_IA32_SSE2 -DOPENSSL_CPUID_OBJ and have an up-to-date version of as. (v2.13?). ./Configure should take

Re: Test of 0.9.8 under DJGPP (was Re: [openssl.org #932] Patch for 0.9.8 (DJGPP))

2004-09-07 Thread [EMAIL PROTECTED] via RT
On Mon, 6 Sep 2004, Doug Kaufman wrote: On Mon, 6 Sep 2004, Andy Polyakov wrote: (Gisle Vanem wrote) To be able to use SSE2 code on a Pentium 4(?) , you need to add -DOPENSSL_IA32_SSE2 -DOPENSSL_CPUID_OBJ and have an up-to-date version of as. (v2.13?). ./Configure should

Re: Test of 0.9.8 under DJGPP (was Re: [openssl.org #932] Patch for 0.9.8 (DJGPP))

2004-09-06 Thread Andy Polyakov
OpenSSL 0.9.8-dev XX xxx built on: Mon Sep 6 09:04:18 PST 2004 platform: DJGPP options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) compiler: gcc -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN

Re: [openssl.org #932] Patch for 0.9.8 (DJGPP)

2004-08-31 Thread Doug Kaufman
On Tue, 31 Aug 2004, Andy Polyakov wrote: I've challenged your code and you should challenge my statements... I mean let's discuss it first, then patch:-) Cheers. A. I'll try to spend some time looking at this, then get back to you. I'll try to check both in plain DOS and in a DOS box under

Re: [openssl.org #932] Patch for 0.9.8 (DJGPP)

2004-08-30 Thread Doug Kaufman
On Mon, 30 Aug 2004, Andy Polyakov wrote: a comment, just go ahead. What I thought to comment on is following RAND_poll code. +#ifdef __DJGPP__ +int RAND_poll(void) +{ + long rnd = 0; + int i, rnd1 = 0; + unsigned char buf[ENTROPY_NEEDED]; + + for (i = 0; i

Re: [openssl.org #932] Patch for 0.9.8 (DJGPP)

2004-08-30 Thread [EMAIL PROTECTED] via RT
On Mon, 30 Aug 2004, Andy Polyakov wrote: a comment, just go ahead. What I thought to comment on is following RAND_poll code. +#ifdef __DJGPP__ +int RAND_poll(void) +{ + long rnd = 0; + int i, rnd1 = 0; + unsigned char buf[ENTROPY_NEEDED]; + + for (i = 0; i

Patch for 0.9.8 (DJGPP)

2004-08-10 Thread Doug Kaufman
Attached is a patch allowing 0.9.8 to compile on DJGPP. The main DJGPP change is to put in the same RAND_poll code that I submitted for 0.9.7. The other changes are more general. The changes to Configure involve putting back the information on excluded algorithms to $flags and $depflags.

[openssl.org #932] Patch for 0.9.8 (DJGPP)

2004-08-10 Thread [EMAIL PROTECTED] via RT
Attached is a patch allowing 0.9.8 to compile on DJGPP. The main DJGPP change is to put in the same RAND_poll code that I submitted for 0.9.7. The other changes are more general. The changes to Configure involve putting back the information on excluded algorithms to $flags and $depflags.