remove legacy VxWorks workaround
authorMax Bachmann <kontakt@maxbachmann.de>
Fri, 6 May 2022 10:09:27 +0000 (12:09 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 9 May 2022 09:13:37 +0000 (11:13 +0200)
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)

crypto/rand/rand_egd.c

index b4e5ca3575df7eb11bbeeaeeb1832aae93fb4fdb..acb1165e0d8d9245cf7435f0f4c238cd32a3e9dc 100644 (file)
@@ -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 */