On Mon, Feb 22, 1999, [EMAIL PROTECTED] wrote:

> Full_Name: Dominic J. Hulewicz
> Version: 2.2.3-1.3.4
> OS: SunOS 4.1.4
> Submission from: gate.sevenww.net (193.130.32.145)
> 
> Apache/mod_ssl would not compile on SunOS as the RAND_MAX constant
> is missing. I fixed pkg.sslmod/ssl_engine_rand.c as follows:
> 
> # diff ssl_engine_rand.c.orig ssl_engine_rand.c
> 175a176,180
> > #ifndef RAND_MAX
> > #include <limits.h>
> > #define RAND_MAX INT_MAX
> > #endif

Oh yes, although RAND_MAX is POSIX, SunOS isn't.
Fixed as suggested by you. Thanks for the patch.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to