Skip to content

Commit

Permalink
Remove all references to FLOSS for NonStop Builds.
Browse files Browse the repository at this point in the history
FLOSS is no longer a dependency for NonStop as of the deprecation of the SPT
thread model builds.

Fixes: #24214

Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #24217)

(cherry picked from commit 0339382)
  • Loading branch information
rsbeckerca authored and t8m committed Apr 24, 2024
1 parent 8f56d06 commit aee4db3
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 59 deletions.
4 changes: 1 addition & 3 deletions NOTES-NONSTOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ About c99 compiler

The c99 compiler is required for building OpenSSL from source. While c11
may work, it has not been broadly tested. c99 is the only compiler
prerequisite needed to build OpenSSL 3.0 on this platform. You should also
have the FLOSS package installed on your system. The ITUGLIB FLOSS package
is the only FLOSS variant that has been broadly tested.
prerequisite needed to build OpenSSL 3.0 on this platform.

Threading Models
----------------
Expand Down
15 changes: 0 additions & 15 deletions apps/lib/apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -2952,11 +2952,6 @@ int raw_read_stdin(void *buf, int siz)
return recv(fileno_stdin(), buf, siz, 0);
}
#else
# if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_read)>
# endif
# endif
int raw_read_stdin(void *buf, int siz)
{
return read(fileno_stdin(), buf, siz);
Expand All @@ -2975,21 +2970,11 @@ int raw_write_stdout(const void *buf, int siz)
}
#elif defined(OPENSSL_SYS_TANDEM) && defined(OPENSSL_THREADS) \
&& defined(_SPT_MODEL_)
# if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_write)>
# endif
# endif
int raw_write_stdout(const void *buf, int siz)
{
return write(fileno(stdout), (void *)buf, siz);
}
#else
# if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_write)>
# endif
# endif
int raw_write_stdout(const void *buf, int siz)
{
return write(fileno_stdout(), buf, siz);
Expand Down
6 changes: 0 additions & 6 deletions apps/lib/http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
#include "s_apps.h"
#include "log.h"

#if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_fork)>
# endif
#endif

#define HTTP_PREFIX "HTTP/"
#define HTTP_VERSION_PATT "1." /* allow 1.x */
#define HTTP_PREFIX_VERSION HTTP_PREFIX""HTTP_VERSION_PATT
Expand Down
6 changes: 0 additions & 6 deletions apps/lib/s_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ typedef unsigned int u_int;
# include "s_apps.h"
# include "internal/sockets.h"

# if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_read)>
# endif
# endif

# include <openssl/bio.h>
# include <openssl/err.h>

Expand Down
6 changes: 0 additions & 6 deletions apps/ocsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
#include <openssl/bn.h>
#include <openssl/x509v3.h>

#if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_fork)>
# endif
#endif

#if defined(OPENSSL_SYS_VXWORKS)
/* not supported */
int setpgid(pid_t pid, pid_t pgid)
Expand Down
6 changes: 0 additions & 6 deletions apps/speed.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@
# include <unistd.h>
#endif

#if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_fork)>
# endif
#endif

#if defined(_WIN32)
# include <windows.h>
/*
Expand Down
3 changes: 0 additions & 3 deletions crypto/bio/bio_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ static int wsa_init_done = 0;
# if defined __TANDEM
# include <unistd.h>
# include <sys/time.h> /* select */
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_select)>
# endif
# elif defined _WIN32
# include <winsock.h> /* for type fd_set */
# else
Expand Down
10 changes: 2 additions & 8 deletions include/internal/sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,8 @@ typedef size_t socklen_t; /* Currently appears to be missing on VMS */
# define readsocket(s,b,n) read((s),(b),(n))
# define writesocket(s,b,n) write((s),(char *)(b),(n))
# elif defined(OPENSSL_SYS_TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_read, floss_write)>
# define readsocket(s,b,n) floss_read((s),(b),(n))
# define writesocket(s,b,n) floss_write((s),(b),(n))
# else
# define readsocket(s,b,n) read((s),(b),(n))
# define writesocket(s,b,n) write((s),(b),(n))
# endif
# define readsocket(s,b,n) read((s),(b),(n))
# define writesocket(s,b,n) write((s),(b),(n))
# define ioctlsocket(a,b,c) ioctl(a,b,c)
# define closesocket(s) close(s)
# else
Expand Down
6 changes: 0 additions & 6 deletions test/drbgtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@
# include <windows.h>
#endif

#if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_fork)>
# endif
#endif

#if defined(OPENSSL_SYS_UNIX)
# include <sys/types.h>
# include <sys/wait.h>
Expand Down

0 comments on commit aee4db3

Please sign in to comment.