On Mon, Jun 26, 2006, Leon wrote:

> > $ grep __FD_SETSIZE  /usr/include/bits/*.h
> > /usr/include/bits/typesizes.h:#define   __FD_SETSIZE            1024
> > 
> > This is the maximum number of fd's the "fd_set" type holds by default. 
> > Maybe it would be possible to stop the crashes and override this with 
> > some ugly stack paddings:
> 
> If I follow the OpenSSL code (using source navigator), the FD_SET and
> others are defined in openssl/apps/s_apps.h and the code restricts the
> set to be a maximum of 32 bits (sizeof int). 32 entries is enough since
> the random devices are only accessed one by one at that point.
> So please educate me: How does the system define __FD_SETSIZE influence
> the OpenSSL defined FD_SET. [ Or am I just totally missing the point
> now? ]
> 

The header file s_apps.h is used to build the openssl command line utility
only. It is not used by the library itself.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to