On Fri, 3 Apr 2009, Stephen Henson via RT wrote: > > [[email protected] - Fri Apr 03 09:08:23 2009]: > > > > > > OpenSSL_1_0_0-stable and HEAD use socklen_t. > > Some platforms do not have the socklen_t data type. > > > > I propose the following patch (also attached) so a person could > > ./config --socklen_t=int > > > > There isn't any real need for a specific configuration file option. > Passing -DSOCKLEN_T=int config should work.
OK, the Configure changes are overkill but we still need the crypto/bio/b_sock.c patch to be able to pass -DSOCKLEN_T=int > If there is a known platform where the socklen_t logic doesn't work we > should really covert in in the header. The problem comes in where a platform may or may not have socklen_t depending on which version. In the case of UnixWare 7, 7.1.1 does not have it but the current 7.1.4 does. Although it would be safe to set SOCKLEN_T to size_t on all the unixware-* targets in Configure. The sco5-* targets would need SOCKLEN_T to be int. -- Tim Rice Multitalents (707) 887-1469 [email protected] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
