> On side note. Looking at first getsockopt in bss_dgram.c. In non-Windows > case it passes pointer to timeval and says it's sizeof(int) large... How > would non-Windows BIO_CTRL_DGRAM_GET_RECV_TIMEOUT work when ret is > initialized to 1?
Consider http://cvs.openssl.org/chngview?cn=22627. Note that it doesn't use "heuristic" union approach on systems with IP_MTU and SCTP, assuming that they are modern enough to provide even socklen_t. As for Linux-specific code reuse. What prevents us from removing all occurrences of defined(OPENSSL_SYS_LINUX) except for first one? ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org