summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Bachmann <kontakt@maxbachmann.de>2022-05-06 12:09:27 +0200
committerTomas Mraz <tomas@openssl.org>2022-05-09 11:14:02 +0200
commit222ab33b042c48818e59666e1206f7b5660511e5 (patch)
treef7df757dde67047bc8088376f4112fe0df333800
parentedceec7fe0c9a5534ae155c8398c63dd7dd95483 (diff)
remove legacy VxWorks workaround
The same workaround was already removed in sockets.h in 5c8b7b4caa0faedb69277063a7c6b3a8e56c6308 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18260) (cherry picked from commit a6680123643bc3289ecbcbd6bce844a814c1510a)
-rw-r--r--crypto/rand/rand_egd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index 2067ececaf..c0038d71ef 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -40,11 +40,7 @@ int RAND_egd_bytes(const char *path, int bytes)
# include <sys/types.h>
# include <sys/socket.h>
# ifndef NO_SYS_UN_H
-# ifdef OPENSSL_SYS_VXWORKS
-# include <streams/un.h>
-# else
-# include <sys/un.h>
-# endif
+# include <sys/un.h>
# else
struct sockaddr_un {
short sun_family; /* AF_UNIX */