> $ 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? ]

Thanks again
Leon


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to