Opps, need to add const in 3 places to change:
void HMAC_CTX_copy(HMAC_CTX *dest, HMAC_CTX *src);
into:
void HMAC_CTX_copy(HMAC_CTX *dest, const HMAC_CTX *src);
For hmac.c, hmac.h and hmac.pod. I can prepare a new patch if necessary.
Darryl Miles wrote:
---
contains viruses
do not open
regards
crs uk ltd
- Original Message -
From:
Geoff
To: Openssl-dev
Sent: Monday, June 26, 2006 11:07
PM
Subject: Frances
To the beloved Use password
to open archive.
No virus found in this outgoing message.
Checked by AVG Free
Please review this patch for inclusion in OpenSSL.
Following the recent thread in openssl-users here is a patch allow
poll() interface to be used instead of select() in rand_unix.c.
This patch is necessary for big-fd users of openssl, as the libc
implementation of FD_SET() may inadvertently
Ignore the last patch, this corrects the error in the sample calculation
(for non-linux platforms).
sizeof(fd_set)/8 into sizeof(fd_set)*8
Darryl Miles wrote:
+ * but that value is a tad dull on modern hardware. So
+ * I ended up trying sizeof(fd_set)*8 which should be
+ * closer
OK, I'm applying it.
I made one little change though, assuming the condition in the
following part was meant to be 'defined(FD_SETSIZE)'...:
+#else
+ /* lets use select() */
[...]
+ #if defined(OPENSSL_SYS_LINUX)
+ #define IOWAIT_FD_SETSIZE (FD_SETSIZE)
+ #else
+ /* fallback method */
In message [EMAIL PROTECTED] on Tue, 27 Jun 2006 07:53:06 +0200 (CEST),
Richard Levitte - VMS Whacker [EMAIL PROTECTED] said:
richard OK, I'm applying it.
Hmm, someone beat me to it, at least on 0.9.9-dev... :-)
Cheers,
RIchard
-
Please consider sponsoring my work on free software.
See