summaryrefslogtreecommitdiff
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:13:37 +0200
commita6680123643bc3289ecbcbd6bce844a814c1510a (patch)
treee996d86fac0de93be98baaa09e6035ab6894ebe8
parent221d65ba534d23a240ccadd0c2679b222aae35b1 (diff)
downloadopenssl-new-a6680123643bc3289ecbcbd6bce844a814c1510a.tar.gz
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)
-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 b4e5ca3575..acb1165e0d 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 */