Hi,

I made a compilation of OpenSSL 0.9.7e on OS/2 Warp and its work.

I encountered a small problem during compilation, there was
an error in the file crypto/rand/rand_egd.c:
On line 139, "struct sockaddr_un" was undefined.

So, I replaced in the code the following lines :
==============
# ifdef OPENSSL_SYS_VXWORKS
#   include <streams/un.h>
# else
#   include <sys/un.h>
# endif
#else
struct  sockaddr_un {
        short   sun_family;             /* AF_UNIX */
        char    sun_path[108];          /* path name (gag) */
};
#endif /* NO_SYS_UN_H */
=================
by this:
=================
struct  sockaddr_un {
        short   sun_family;             /* AF_UNIX */
        char    sun_path[108];          /* path name (gag) */
};
=================

I compiled it again and there was no error.

Is this correct? Do you think that I did no error ?

Thanks in advance.

-- 
Eric Pommateau



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

Reply via email to