HI Steve,

Dr. Stephen Henson schrieb:
> 
>   OpenSSL version 1.0.0 Beta 3
>   ============================
> 
>   OpenSSL - The Open Source toolkit for SSL/TLS
>   http://www.openssl.org/
> 
>   OpenSSL is currently in a release cycle. The second beta is now released.
>   The beta release is available for download via HTTP and FTP from the
>   following master locations (the various FTP mirrors you can find under
>   http://www.openssl.org/source/mirror.html):
I have still the prob with NetWare's broken Winsock IPv6 stack;
currently it breaks in crypto/b_sock.c (gcc compiler):

b_sock.c: In function `BIO_get_accept_socket':
b_sock.c:728: dereferencing pointer to incomplete type
b_sock.c:728: dereferencing pointer to incomplete type
b_sock.c:729: dereferencing pointer to incomplete type

or, with Metrowerks compiler:
crypto\bio\b_sock.c:728: illegal use of incomplete struct/union/class
'struct sockaddr_in6'
crypto\bio\b_sock.c:729: illegal use of incomplete struct/union/class
'struct sockaddr_in6'

this is inside a '#ifdef AF_INET6' block. The problem is now that
although AF_INET6 is indeed defined in the winsock2 header, the
implementation is incomplete and broken. In the past I came over very
similar prob also with Linux 2.2 kernel where structs were incomplete,
and I'm asking me if it wouldnt make sense to add a var which disables
IPv6 stuff on demand? F.e. something like DISABLE_IPV6, and then change
all '#ifdef AF_INET6' across the sources to:
#if !defined(DISABLE_IPV6) && defined(AF_INET6)
...
#endif

This would make it possible to disable the IPv6 stuff for any platform
which is known to broken with IPv6.

Thoughts?

Gün.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to